diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:20:34 +0300 |
commit | e1233ab2508be02b0bd59c90f42b1c3406b60564 (patch) | |
tree | 17eaec58892287d214a1c86aee18fdfdd0448f1c /src/actions | |
parent | 2363866d00316240e025ebf479536ac68510d4b4 (diff) | |
download | mv-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.gz mv-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.bz2 mv-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.xz mv-e1233ab2508be02b0bd59c90f42b1c3406b60564.zip |
Remove copy to clipboard action in chat popup.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 13 | ||||
-rw-r--r-- | src/actions/chat.h | 1 |
2 files changed, 14 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 diff --git a/src/actions/chat.h b/src/actions/chat.h index 3a433e49a..158de5580 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -59,6 +59,7 @@ namespace Actions decHandler(chatPartyTab); decHandler(chatGuildTab); decHandler(hat); + decHandler(chatClipboard); } // namespace Actions #undef decHandler |