From 92ca851386f2883f8965bbbd4652f194cbdc3677 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Dec 2014 00:01:51 +0300 Subject: Remove "chat clear" popup menu handler. --- src/gui/popups/popupmenu.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index a2d3ca3b1..f79ffba7a 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -726,7 +726,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab) // TRANSLATORS: popup menu item // TRANSLATORS: remove all text from chat tab - mBrowserBox->addRow("chat clear", _("Clear")); + mBrowserBox->addRow("/chatclear", _("Clear")); mBrowserBox->addRow("##3---"); if (tab->getAllowHighlight()) @@ -987,11 +987,6 @@ void PopupMenu::handleLink(const std::string &link, inputManager.executeChatCommand(InputAction::CLOSE_CHAT_TAB, std::string(), mTab); } - else if (link == "chat clear" && mTab) - { - if (chatWindow) - chatWindow->clearTab(); - } else if (link == "warp map" && mMapItem) { if (Game::instance()) -- cgit v1.2.3-70-g09d2