summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 0afa4a21..f0810d0a 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -305,7 +305,7 @@ void TradeWindow::action(const std::string &eventId)
}
else {
// Choose amount of items to trade
- new ItemAmountWindow(AMOUNT_TRADE_ADD, this);
+ new ItemAmountWindow(AMOUNT_TRADE_ADD, this, item);
}
}
else if (eventId == "cancel")