summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/options-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 79e0c2a0..a0d26b8a 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -20,7 +20,7 @@ QString OptionsDialog::kopts_to_string(const key_opts& kopts)
if (!str.isEmpty())
{
if (str.startsWith("Num+"))
- return tr("Num+") + str.left(4);
+ return tr("Num+") + str.mid(4);
const int btn = kopts.button & ~Qt::KeyboardModifierMask;
const int mods = kopts.button & Qt::KeyboardModifierMask;