summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-27 12:38:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-27 12:38:32 +0300
commit4fb756ef90981a90ae31446c1c094bf88e24d045 (patch)
tree31cb8a3d46987207c8948987a66e9361f7f0f648 /src/gui/widgets
parent8626395ecd1bb47f2e67e576ec648c2ab34cb148 (diff)
downloadmanaplus-4fb756ef90981a90ae31446c1c094bf88e24d045.tar.gz
manaplus-4fb756ef90981a90ae31446c1c094bf88e24d045.tar.bz2
manaplus-4fb756ef90981a90ae31446c1c094bf88e24d045.tar.xz
manaplus-4fb756ef90981a90ae31446c1c094bf88e24d045.zip
Add option to show/hide server side position.
By default server side position is hidden, before it was always visible.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp
index ad1f60c8b..12cb614cd 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_other.cpp
@@ -182,6 +182,10 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
"autofixPos", this, "autofixPosEvent");
// TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Show server side position"), "",
+ "showserverpos", this, "showserverposEvent");
+
+ // TRANSLATORS: settings option
new SetupItemCheckBox(_("Attack while moving"), "",
"attackMoving", this, "attackMovingEvent");