Skip to content

Commit

Permalink
fix: remove shortcut for popup menu action
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Jun 1, 2024
1 parent 7661316 commit 58705ba
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/org/omegat/gui/glossary/GlossaryTextArea.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,7 @@ private static final class SettingsOpenFileAction extends AbstractMnemonicsActio

private SettingsOpenFileAction() {
super(OStrings.getString("GUI_GLOSSARYWINDOW_SETTINGS_OPEN_FILE"), OStrings.getLocale());
final String key = "projectAccessWriteableGlossaryMenuItem";
putValue(Action.ACTION_COMMAND_KEY, key);
try {
KeyStroke keyStoroke = PropertiesShortcuts.getMainMenuShortcuts().getKeyStroke(key);
putValue(Action.ACCELERATOR_KEY, keyStoroke);
} catch (Exception ignored) {
}
putValue(Action.ACTION_COMMAND_KEY, "projectAccessWriteableGlossaryMenuItem");
}

@Override
Expand Down

0 comments on commit 58705ba

Please sign in to comment.