From 1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Jan 2015 23:59:36 +0300 Subject: Remove popup handler "clear drops". --- src/gui/popups/popupmenu.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 1ee8e5035..349598f26 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1018,11 +1018,6 @@ void PopupMenu::handleLink(const std::string &link, mDialog->setActionEventId("ok"); mDialog->addActionListener(&mRenameListener); } - else if (link == "clear drops") - { - if (dropShortcut) - dropShortcut->clear(); - } else if (link == "edit spell" && mSpell) { (new TextCommandEditor(mSpell))->postInit(); @@ -1862,7 +1857,7 @@ void PopupMenu::showDropPopup(const int x, const int y, Item *const item) } mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item - mBrowserBox->addRow("clear drops", _("Clear drop window")); + mBrowserBox->addRow("/cleardrops", _("Clear drop window")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: close menu -- cgit v1.2.3-60-g2f50