mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -185,8 +185,8 @@ public class GotoRelatedFileAction extends AnAction {
|
||||
}
|
||||
};
|
||||
popup.setMinimumSize(new Dimension(200, -1));
|
||||
for (GotoRelatedItem item : itemsMap.values()) {
|
||||
final int mnemonic = item.getMnemonic();
|
||||
for (Object item : elements) {
|
||||
final int mnemonic = getMnemonic(item, itemsMap);
|
||||
if (mnemonic != -1) {
|
||||
final Action action = createNumberAction(mnemonic, popup, itemsMap, processor);
|
||||
popup.registerAction(mnemonic + "Action", KeyStroke.getKeyStroke(String.valueOf(mnemonic)), action);
|
||||
|
||||
Reference in New Issue
Block a user