From 58705ba1c387a0006aa9c9bd195254442c0fca90 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sat, 1 Jun 2024 09:32:17 +0900 Subject: [PATCH] fix: remove shortcut for popup menu action Signed-off-by: Hiroshi Miura --- src/org/omegat/gui/glossary/GlossaryTextArea.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/org/omegat/gui/glossary/GlossaryTextArea.java b/src/org/omegat/gui/glossary/GlossaryTextArea.java index 5ba5382742..e3b50145cc 100644 --- a/src/org/omegat/gui/glossary/GlossaryTextArea.java +++ b/src/org/omegat/gui/glossary/GlossaryTextArea.java @@ -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