summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-18 19:17:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-18 19:17:24 +0100
commita0e74e725cd483c1f78b640db9c6148158d2b442 (patch)
treed03ea91a785fe9da06ce6f6cfcf2fcea78f2b5f0 /gui/options-dialog.cpp
parente375c2639714f8600ff8dfc7ab786536f3b166e9 (diff)
gui/options: oops, fix numpad keys friendly name
Diffstat (limited to 'gui/options-dialog.cpp')
-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;