diff options
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 37ad6ea48..1cd774dbe 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -982,13 +982,7 @@ void PopupMenu::handleLink(const std::string &link, if (actorManager) being = actorManager->findBeing(mBeingId); - if (link == "store all" && mItem) - { - inventoryHandler->moveItem2(Inventory::INVENTORY, - mItem->getInvIndex(), mItem->getQuantity(), - Inventory::STORAGE); - } - else if (link == "addtrade" && mItem) + if (link == "addtrade" && mItem) { if (!PlayerInfo::isItemProtected(mItem->getId())) { @@ -1822,7 +1816,8 @@ void PopupMenu::showPopup(Window *const parent, const int x, const int y, _("Store all-1")); // TRANSLATORS: popup menu item // TRANSLATORS: add all item amount to storage - mBrowserBox->addRow("store all", _("Store all")); + mBrowserBox->addRow("/invtostorageall 'INVINDEX'", + _("Store all")); } mBrowserBox->addRow("##3---"); } |