From 9de5536077107f36185c1132cd0cbcdbeefffabb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 15:21:32 +0300 Subject: Move chat command /disablehightlight into actions. --- src/gui/popups/popupmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/popups') 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) { -- cgit v1.2.3-70-g09d2