X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTLabel.java;h=38c014c26ea256441d37bb2a03c88417c49fd8c1;hb=3fe82fa71d39d874691dc85e6a77250fd4953b17;hp=1d65976bba16f3947a3c47498cf552dcdda4f849;hpb=772b8255e4ee92c9c026bd94df39d0c177d6a6bb;p=fanfix.git diff --git a/src/jexer/TLabel.java b/src/jexer/TLabel.java index 1d65976..38c014c 100644 --- a/src/jexer/TLabel.java +++ b/src/jexer/TLabel.java @@ -186,8 +186,8 @@ public class TLabel extends TWidget { mnemonicColor.setBackColor(background.getBackColor()); } putStringXY(0, 0, mnemonic.getRawLabel(), color); - if (mnemonic.getShortcutIdx() >= 0) { - putCharXY(mnemonic.getShortcutIdx(), 0, + if (mnemonic.getScreenShortcutIdx() >= 0) { + putCharXY(mnemonic.getScreenShortcutIdx(), 0, mnemonic.getShortcut(), mnemonicColor); } }