diff options
Diffstat (limited to 'src/gui/inventory.cpp')
-rw-r--r-- | src/gui/inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp index 38537eb7..088cb81c 100644 --- a/src/gui/inventory.cpp +++ b/src/gui/inventory.cpp @@ -160,8 +160,9 @@ void InventoryWindow::action(const std::string &eventId) } } else if (eventId == "drop") { - itemAmountWindow->resetAmount(); + itemAmountWindow->setUsage(AMOUNT_ITEM_DROP); itemAmountWindow->setVisible(true); + itemAmountWindow->requestMoveToTop(); } } } @@ -214,4 +215,3 @@ void InventoryWindow::updateWidgets() setContentSize(getWidth(), getHeight()); } - |