diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:40:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:40:34 +0300 |
commit | 0b9105af0ae2b85a0a3ea5364d8a854d107ce34a (patch) | |
tree | 10d4c2e846010e55fe7a48cc9e84502938ef16ab /src/gui/popups/popupmenu.cpp | |
parent | ba4e639a333eed40f95f7bf7a361c0bd0186c334 (diff) | |
download | plus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.gz plus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.bz2 plus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.xz plus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.zip |
Move chat command /disableaway into actions.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index b3970e7aa..c06c98540 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1475,8 +1475,8 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "disable away" && mTab) { - if (commandHandler) - commandHandler->invokeCommand(COMMAND_DISABLEAWAY, mTab); + inputManager.executeChatCommand(InputAction::DISABLE_AWAY, + std::string(), mTab); } else if (link == "enable away" && mTab) { |