diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:49:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:49:56 +0300 |
commit | dccf40b1e9168e5341937f35cc8c9bfa1bee433f (patch) | |
tree | 6e8ee1169e0b63e65b358decae05145fe4f8217e /src/actions | |
parent | e05913dbd84ab444dcf41fcc00bf6aa5470d79fe (diff) | |
download | manaverse-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.gz manaverse-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.bz2 manaverse-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.xz manaverse-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.zip |
Remove popup action "copy bar to chat"
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 10 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index a8a6e3c95..169727b2a 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1709,4 +1709,14 @@ impHandler0(resetGameModifiers) return true; } +impHandler(barToChat) +{ + if (chatWindow) + { + chatWindow->addInputText(event.args); + return true; + } + return false; +} + } // namespace Actions diff --git a/src/actions/actions.h b/src/actions/actions.h index a19b4964e..5581fee52 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -111,6 +111,7 @@ namespace Actions decHandler(testInfo); decHandler(craftKey); decHandler(resetGameModifiers); + decHandler(barToChat); } // namespace Actions #undef decHandler |