diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:21:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 15:21:32 +0300 |
commit | 9de5536077107f36185c1132cd0cbcdbeefffabb (patch) | |
tree | 085c92fba0a9d835096ba4c736caf1cb4c9d01ee /src/gui | |
parent | fbf45af162f9a2eecd3c27c8729bd9c811dbe793 (diff) | |
download | manaplus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.gz manaplus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.bz2 manaplus-9de5536077107f36185c1132cd0cbcdbeefffabb.tar.xz manaplus-9de5536077107f36185c1132cd0cbcdbeefffabb.zip |
Move chat command /disablehightlight into actions.
Diffstat (limited to 'src/gui')
-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 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) { |