mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix the default scopeType, due to the changed Scopes/Dir order
This commit is contained in:
@@ -202,7 +202,7 @@ class FindPopupScopeUIImpl implements FindPopupScopeUI {
|
||||
|
||||
ScopeType scope = getScope(findModel);
|
||||
ScopeType selectedScope = Arrays.stream(myComponents).filter(o -> o.first == scope).findFirst().orElse(null) == null
|
||||
? myComponents[myComponents.length - 1].first
|
||||
? myComponents[0].first
|
||||
: scope;
|
||||
if (selectedScope == MODULE) {
|
||||
myModuleComboBox.setSelectedItem(findModel.getModuleName());
|
||||
|
||||
Reference in New Issue
Block a user