diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/MenuKey.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/MenuKey.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/MenuKey.java b/java/com/tigervnc/vncviewer/MenuKey.java index 0a240149..49677087 100644 --- a/java/com/tigervnc/vncviewer/MenuKey.java +++ b/java/com/tigervnc/vncviewer/MenuKey.java @@ -78,10 +78,10 @@ public class MenuKey } static int getMenuKeyCode() { - String menuKeyStr; int menuKeyCode = KeyEvent.VK_F8; - menuKeyStr = + @SuppressWarnings({"static"}) + String menuKeyStr = Configuration.global().getParam("menuKey").getValueStr(); for(int i = 0; i < getMenuKeySymbolCount(); i++) if (menuSymbols[i].name.equals(menuKeyStr)) |