SSR: don't enable "apply constraint within type hierarchy" when not searching java
[idea/community.git] / platform / structuralsearch / source / com / intellij / structuralsearch / plugin / ui / SearchDialog.java
index 4fe8b7d2201defd5cd796d61163b204da86e1b1d..ed5fd8e1b5c2885f0a2490eb7754dbb3ec611a05 100644 (file)
@@ -649,7 +649,6 @@ public class SearchDialog extends DialogWrapper {
             new EditVarConstraintsDialog(
               searchContext.getProject(),
               model, getVariablesFromListeners(),
-              isReplaceDialog(),
               (FileType)fileTypes.getSelectedItem()
             ).show();
             initiateValidation();