From d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 16:05:23 +0300 Subject: Use InventoryType for inventory type. --- src/gui/windows/equipmentwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/equipmentwindow.cpp') 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; } } -- cgit v1.2.3-70-g09d2