summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index e251b0bd9..6cf601b38 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -395,7 +395,8 @@ void TradeWindow::action(const ActionEvent &event)
return;
// Choose amount of items to trade
- ItemAmountWindow::showWindow(ItemAmountWindow::TradeAdd, this, item);
+ ItemAmountWindow::showWindow(ItemAmountWindowUsage::TradeAdd,
+ this, item);
setStatus(PREPARING);
}