diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 7 |
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()) |