summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index ae438dc10..6bec6dfa3 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -430,9 +430,14 @@ void EquipmentWindow::mousePressed(MouseEvent& event)
{
event.consume();
if (mForing)
+ {
popupMenu->showUndressPopup(mx, my, mBeing, item);
+ }
else
- popupMenu->showPopup(this, mx, my, item, true);
+ {
+ popupMenu->showPopup(this, mx, my, item,
+ InventoryType::INVENTORY);
+ }
return;
}
}