summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 8ebd34473..0110ec012 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -770,7 +770,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab)
{
// TRANSLATORS: popup menu item
// TRANSLATORS: enable away messages in chat tab
- mBrowserBox->addRow("leave party", _("Leave"));
+ mBrowserBox->addRow("/leaveparty", _("Leave"));
mBrowserBox->addRow("##3---");
}
// TRANSLATORS: popup menu item
@@ -987,10 +987,6 @@ void PopupMenu::handleLink(const std::string &link,
inputManager.executeChatCommand(InputAction::CLOSE_CHAT_TAB,
std::string(), mTab);
}
- else if (link == "leave party" && mTab)
- {
- partyHandler->leave();
- }
else if (link == "chat clear" && mTab)
{
if (chatWindow)