Merge branch 'subtree'
[fanfix.git] / src / jexer / TCheckBox.java
index 1e86470a4f36a1b850f9f9fe5df0f4341eb87498..1f9a351c0c0c636c538272d372c5a3b4ef43f583 100644 (file)
@@ -176,8 +176,8 @@ public class TCheckBox extends TWidget {
         }
         putCharXY(2, 0, ']', checkboxColor);
         putStringXY(4, 0, mnemonic.getRawLabel(), checkboxColor);
-        if (mnemonic.getShortcutIdx() >= 0) {
-            putCharXY(4 + mnemonic.getShortcutIdx(), 0,
+        if (mnemonic.getScreenShortcutIdx() >= 0) {
+            putCharXY(4 + mnemonic.getScreenShortcutIdx(), 0,
                 mnemonic.getShortcut(), mnemonicColor);
         }
     }