summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-14 00:58:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-14 00:58:56 +0300
commit142ff23dba038330b724372be3653f62ecd979e4 (patch)
tree061b842408a1ec00930e7a2157a0406e9160a472 /src/input
parentdcfcebcca0a36f957163bd046efd7d22b2556157 (diff)
downloadplus-142ff23dba038330b724372be3653f62ecd979e4.tar.gz
plus-142ff23dba038330b724372be3653f62ecd979e4.tar.bz2
plus-142ff23dba038330b724372be3653f62ecd979e4.tar.xz
plus-142ff23dba038330b724372be3653f62ecd979e4.zip
Allow show windows action only after connecting to server.
Reported by Obani.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 7798bbe95..7e098af65 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2760,7 +2760,7 @@ static const InputActionData inputActionData
Protected_false},
{"keyShowWindows",
defaultAction(&Actions::showWindows),
- InputCondition::DEFAULT,
+ InputCondition::DEFAULT | InputCondition::INGAME,
"showwindows",
UseArgs_false,
Protected_false},