summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:21:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:21:32 +0300
commit9de5536077107f36185c1132cd0cbcdbeefffabb (patch)
tree085c92fba0a9d835096ba4c736caf1cb4c9d01ee /src/gui/popups/popupmenu.cpp
parentfbf45af162f9a2eecd3c27c8729bd9c811dbe793 (diff)
downloadmv-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.gz
mv-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.bz2
mv-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.xz
mv-9de5536077107f36185c1132cd0cbcdbeefffabb.zip
Move chat command /disablehightlight 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 69a4e096b..501b1e0ff 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1460,8 +1460,8 @@ void PopupMenu::handleLink(const std::string &link,
}
else if (link == "disable highlight" && mTab)
{
- if (commandHandler)
- commandHandler->invokeCommand(COMMAND_DISABLEHIGHLIGHT, mTab);
+ inputManager.executeChatCommand(InputAction::DISABLE_HIGHLIGHT,
+ std::string(), mTab);
}
else if (link == "dont remove name" && mTab)
{