summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-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 c06c98540..41135f962 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1480,8 +1480,8 @@ void PopupMenu::handleLink(const std::string &link,
}
else if (link == "enable away" && mTab)
{
- if (commandHandler)
- commandHandler->invokeCommand(COMMAND_ENABLEAWAY, mTab);
+ inputManager.executeChatCommand(InputAction::ENABLE_AWAY,
+ std::string(), mTab);
}
else if (link == "chat clipboard" && mTab)
{