diff options
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 50465a50..e593bc1b 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -79,7 +79,7 @@ InventoryWindow::InventoryWindow(int invSize): } mUseButton = new Button(longestUseString, "use", this); - mDropButton = new Button(_("Drop"), "drop", this); + mDropButton = new Button(_("Drop..."), "drop", this); mSplitButton = new Button(_("Split"), "split", this); mOutfitButton = new Button(_("Outfits"), "outfit", this); mItems = new ItemContainer(player_node->getInventory()); @@ -289,6 +289,11 @@ void InventoryWindow::updateButtons() mUseButton->setCaption(_("Use")); } + if (selectedItem->getQuantity() > 1) + mDropButton->setCaption(_("Drop...")); + else + mDropButton->setCaption(_("Drop")); + if (Net::getInventoryHandler()->canSplit(selectedItem)) { mSplitButton->setEnabled(true); |