summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 23:59:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 23:59:36 +0300
commit1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a (patch)
treeedc73443a83b5e3b59147c4fbe27ccaa8eb311b5 /src/gui/popups
parent5b4e74ab44a2ae4eab9db71c860885802e2ba28d (diff)
downloadmanaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.gz
manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.bz2
manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.xz
manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.zip
Remove popup handler "clear drops".
Diffstat (limited to 'src/gui/popups')
-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 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