summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:29:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:29:50 +0300
commitb3f08b33aff591346efb4a94c4cfccdd7b120e9f (patch)
tree34501eda3aeacaa09f385d59a00237b9f1d89b3d /src/gui/popups/popupmenu.cpp
parent9de5536077107f36185c1132cd0cbcdbeefffabb (diff)
downloadplus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.gz
plus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.bz2
plus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.tar.xz
plus-b3f08b33aff591346efb4a94c4cfccdd7b120e9f.zip
Move chat command /dontremovename into actions.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 501b1e0ff..7a8285cc0 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1465,8 +1465,8 @@ void PopupMenu::handleLink(const std::string &link,
}
else if (link == "dont remove name" && mTab)
{
- if (commandHandler)
- commandHandler->invokeCommand(COMMAND_DONTREMOVENAME, mTab);
+ inputManager.executeChatCommand(InputAction::DONT_REMOVE_NAME,
+ std::string(), mTab);
}
else if (link == "remove name" && mTab)
{