diff options
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 7f609a6c..8cd51b10 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -29,7 +29,6 @@ ItemAmountWindow::ItemAmountWindow(): Window("Select amount of items to drop.") { - // New labels itemAmountLabel = new gcn::Label("1"); @@ -98,11 +97,10 @@ void ItemAmountWindow::setUsage(int usage) { break; } - } - -void ItemAmountWindow::action(const std::string& eventId) { +void ItemAmountWindow::action(const std::string& eventId) +{ if (eventId == "Cancel") { resetAmount(); |