summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 00:01:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 00:01:51 +0300
commit92ca851386f2883f8965bbbd4652f194cbdc3677 (patch)
tree701734a004e6c3945c3df60897aeb6dedac95200
parent4924ee59a5723a12673648fb5e9c264b8240da32 (diff)
downloadmanaplus-92ca851386f2883f8965bbbd4652f194cbdc3677.tar.gz
manaplus-92ca851386f2883f8965bbbd4652f194cbdc3677.tar.bz2
manaplus-92ca851386f2883f8965bbbd4652f194cbdc3677.tar.xz
manaplus-92ca851386f2883f8965bbbd4652f194cbdc3677.zip
Remove "chat clear" popup menu handler.
-rw-r--r--src/gui/popups/popupmenu.cpp7
1 files changed, 1 insertions, 6 deletions
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())