mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
skip duplicates in goto action (IDEA-126131)
This commit is contained in:
@@ -312,7 +312,7 @@ public class GotoActionModel implements ChooseByNameModel, CustomMatcherModel, C
|
||||
@Override
|
||||
@NotNull
|
||||
public String[] getNames(boolean checkBoxState) {
|
||||
final ArrayList<String> result = new ArrayList<String>();
|
||||
final LinkedHashSet<String> result = new LinkedHashSet<String>();
|
||||
result.add(INTENTIONS_KEY);
|
||||
for (AnAction action : myActionsMap.keySet()) {
|
||||
result.add(getActionId(action));
|
||||
|
||||
Reference in New Issue
Block a user