diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:36:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:36:30 +0300 |
commit | ba4e639a333eed40f95f7bf7a361c0bd0186c334 (patch) | |
tree | b35eabbf47e6ca848bc1fd3b05233689e387d0a3 /src/gui/popups/popupmenu.cpp | |
parent | b3f08b33aff591346efb4a94c4cfccdd7b120e9f (diff) | |
download | plus-ba4e639a333eed40f95f7bf7a361c0bd0186c334.tar.gz plus-ba4e639a333eed40f95f7bf7a361c0bd0186c334.tar.bz2 plus-ba4e639a333eed40f95f7bf7a361c0bd0186c334.tar.xz plus-ba4e639a333eed40f95f7bf7a361c0bd0186c334.zip |
Move chat command /removename 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 7a8285cc0..b3970e7aa 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1470,8 +1470,8 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "remove name" && mTab) { - if (commandHandler) - commandHandler->invokeCommand(COMMAND_REMOVENAME, mTab); + inputManager.executeChatCommand(InputAction::REMOVE_NAME, + std::string(), mTab); } else if (link == "disable away" && mTab) { |