summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 19:49:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 19:49:56 +0300
commitdccf40b1e9168e5341937f35cc8c9bfa1bee433f (patch)
tree6e8ee1169e0b63e65b358decae05145fe4f8217e /src/actions
parente05913dbd84ab444dcf41fcc00bf6aa5470d79fe (diff)
downloadmv-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.gz
mv-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.bz2
mv-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.tar.xz
mv-dccf40b1e9168e5341937f35cc8c9bfa1bee433f.zip
Remove popup action "copy bar to chat"
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp10
-rw-r--r--src/actions/actions.h1
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