summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/popupmenu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 409a0eda..fa068cda 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -344,6 +344,11 @@ void PopupMenu::showPopup(Window *parent, int x, int y, Item *item,
if (isInventory)
{
+ if (InventoryWindow::isStorageActive())
+ {
+ mBrowserBox->addRow(strprintf("@@store|%s@@", _("Store")));
+ }
+
if (item->isEquipment())
{
if (item->isEquipped())
@@ -363,11 +368,6 @@ void PopupMenu::showPopup(Window *parent, int x, int y, Item *item,
{
mBrowserBox->addRow(strprintf("@@split|%s@@", _("Split")));
}
-
- if (InventoryWindow::isStorageActive())
- {
- mBrowserBox->addRow(strprintf("@@store|%s@@", _("Store")));
- }
}
// Assume in storage for now
// TODO: make this whole system more flexible, if needed