summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_players.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-10 15:55:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-10 15:55:59 +0300
commitbfc5d7483c0a81409ebf08603f634e88b8db03f8 (patch)
tree0a9357fdc0cc63217fcf49bd3523d2a47e79c806 /src/gui/widgets/tabs/setup_players.cpp
parentdc0383ea1c14db56cbdbde5f1d38eb6c1f6d672d (diff)
downloadplus-bfc5d7483c0a81409ebf08603f634e88b8db03f8.tar.gz
plus-bfc5d7483c0a81409ebf08603f634e88b8db03f8.tar.bz2
plus-bfc5d7483c0a81409ebf08603f634e88b8db03f8.tar.xz
plus-bfc5d7483c0a81409ebf08603f634e88b8db03f8.zip
Add setting to allow and not allow move character by mouse.
Diffstat (limited to 'src/gui/widgets/tabs/setup_players.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_players.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_players.cpp b/src/gui/widgets/tabs/setup_players.cpp
index ca3506aa4..cca3acee9 100644
--- a/src/gui/widgets/tabs/setup_players.cpp
+++ b/src/gui/widgets/tabs/setup_players.cpp
@@ -165,6 +165,10 @@ Setup_Players::Setup_Players(const Widget2 *const widget) :
"", "enableRemoteCommands", this, "enableRemoteCommandsEvent",
MainConfig_false);
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Allow move character by mouse"),
+ "", "allowMoveByMouse", this, "allowMoveByMouseEvent");
+
setDimension(Rect(0, 0, 550, 350));
}