summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 53a8a11f7..f9e2d232d 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -1319,12 +1319,12 @@ void PopupMenu::handleLink(const std::string &link,
else if (link == "enable highlight" && mTab)
{
if (commandHandler)
- commandHandler->invokeCommand("enablehighlight", "", mTab);
+ commandHandler->invokeCommand(COMMAND_ENABLEHIGHLIGHT, mTab);
}
else if (link == "disable highlight" && mTab)
{
if (commandHandler)
- commandHandler->invokeCommand("disablehighlight", "", mTab);
+ commandHandler->invokeCommand(COMMAND_DISABLEHIGHLIGHT, mTab);
}
else if (link == "dont remove name" && mTab)
{