summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:14:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:14:59 +0300
commitfbf45af162f9a2eecd3c27c8729bd9c811dbe793 (patch)
tree9c67b9bbed3f9f34c84d900f3bc7115c2ed1e05b /src/gui
parent45949cf0fbade4f211520926c5e839c68cd01fbb (diff)
downloadplus-fbf45af162f9a2eecd3c27c8729bd9c811dbe793.tar.gz
plus-fbf45af162f9a2eecd3c27c8729bd9c811dbe793.tar.bz2
plus-fbf45af162f9a2eecd3c27c8729bd9c811dbe793.tar.xz
plus-fbf45af162f9a2eecd3c27c8729bd9c811dbe793.zip
Move chat command /enablehightlight into actions.
Diffstat (limited to 'src/gui')
-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 88316535c..69a4e096b 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1455,8 +1455,8 @@ void PopupMenu::handleLink(const std::string &link,
}
else if (link == "enable highlight" && mTab)
{
- if (commandHandler)
- commandHandler->invokeCommand(COMMAND_ENABLEHIGHLIGHT, mTab);
+ inputManager.executeChatCommand(InputAction::ENABLE_HIGHLIGHT,
+ std::string(), mTab);
}
else if (link == "disable highlight" && mTab)
{