diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-14 22:35:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-14 22:35:37 +0300 |
commit | 949ff15ab6e7b841b996f8cb1a3bebb957cd4a85 (patch) | |
tree | a12092133871b52387c44d63bad4ed9afc87b277 | |
parent | 4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b (diff) | |
download | manaplus-949ff15ab6e7b841b996f8cb1a3bebb957cd4a85.tar.gz manaplus-949ff15ab6e7b841b996f8cb1a3bebb957cd4a85.tar.bz2 manaplus-949ff15ab6e7b841b996f8cb1a3bebb957cd4a85.tar.xz manaplus-949ff15ab6e7b841b996f8cb1a3bebb957cd4a85.zip |
Remove "leave party" popup menu handler.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
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) |