diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-12 18:34:52 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-12 18:34:52 +0000 |
commit | 308e722a1b3fc34ade98e88b050a024cbd2c9f78 (patch) | |
tree | b7228180c846751ac44d792c415442f77acecdb6 /src/gui/inventory.cpp | |
parent | abe13c1a2b9338e9a3001128954cc9fb6125ce0f (diff) | |
download | mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.gz mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.bz2 mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.xz mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.zip |
trade fixes as usual + quit dialog pops up now instead of being under other windows
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()); } - |