From dccf40b1e9168e5341937f35cc8c9bfa1bee433f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Jan 2016 19:49:56 +0300 Subject: Remove popup action "copy bar to chat" --- src/actions/actions.cpp | 10 ++++++++++ src/actions/actions.h | 1 + 2 files changed, 11 insertions(+) (limited to 'src/actions') 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 -- cgit v1.2.3-70-g09d2