summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-12 20:11:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-12 20:20:59 +0300
commitaeec9ca9881bbd4fdc332b342b09a795ee3961b4 (patch)
tree3e32a1dd828464a7e6e8c439f658421772a62f40 /src/gui/didyouknowwindow.cpp
parent36027fc87b99b8f048265f6ac470227a1c32d481 (diff)
downloadmanaplus-aeec9ca9881bbd4fdc332b342b09a795ee3961b4.tar.gz
manaplus-aeec9ca9881bbd4fdc332b342b09a795ee3961b4.tar.bz2
manaplus-aeec9ca9881bbd4fdc332b342b09a795ee3961b4.tar.xz
manaplus-aeec9ca9881bbd4fdc332b342b09a795ee3961b4.zip
add ability to show assigned keys in browserbox.
Example: This is chat modifier key: ###ChatMod;. If chat mod key is left shift, it will show: "This is chat modifier key: left shift."
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r--src/gui/didyouknowwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index 17b89b9b6..1c08010f2 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -81,6 +81,7 @@ DidYouKnowWindow::DidYouKnowWindow() :
mBrowserBox->setFont(gui->getHelpFont());
mBrowserBox->setProcessVersion(true);
mBrowserBox->setEnableImages(true);
+ mBrowserBox->setEnableKeys(true);
place(0, 0, mScrollArea, 5, 3).setPadding(3);
place(0, 3, mOpenAgainCheckBox, 5);