summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
commite1233ab2508be02b0bd59c90f42b1c3406b60564 (patch)
tree17eaec58892287d214a1c86aee18fdfdd0448f1c /src/actions/chat.cpp
parent2363866d00316240e025ebf479536ac68510d4b4 (diff)
downloadplus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.gz
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.bz2
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.xz
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.zip
Remove copy to clipboard action in chat popup.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 9d9be4279..62213c5cc 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -604,4 +604,17 @@ impHandler(hat)
return true;
}
+impHandler(chatClipboard)
+{
+ int x = 0;
+ int y = 0;
+
+ if (chatWindow && parse2Int(event.args, x, y))
+ {
+ chatWindow->copyToClipboard(x, y);
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions