summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/popups/popupmenu.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index b43629c11..4345dfc42 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -982,15 +982,7 @@ void PopupMenu::handleLink(const std::string &link,
if (actorManager)
being = actorManager->findBeing(mBeingId);
- if (link == "retrieve" && mItem)
- {
- if (Widget::widgetExists(mWindow))
- {
- ItemAmountWindow::showWindow(ItemAmountWindow::StoreRemove,
- mWindow, mItem);
- }
- }
- else if (link == "retrieve 10" && mItem)
+ if (link == "retrieve 10" && mItem)
{
int cnt = 10;
if (cnt > mItem->getQuantity())
@@ -1800,7 +1792,7 @@ void PopupMenu::showPopup(Window *const parent, const int x, const int y,
{
// TRANSLATORS: popup menu item
// TRANSLATORS: get item from storage
- mBrowserBox->addRow("retrieve", _("Retrieve"));
+ mBrowserBox->addRow("/storagetoinv 'INVINDEX'", _("Retrieve"));
if (cnt > 1)
{
if (cnt > 10)