summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 1e25ae862..f0052e46b 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -444,7 +444,7 @@ void TradeWindow::initTrade(const std::string &nick)
Item *const item = inv->findItem(mAutoAddItem->getId(),
mAutoAddItem->getColor());
if (item)
- tradeItem(item, mAutoAddItem->getQuantity());
+ tradeItem(item, mAutoAddAmount);
}
}
if (mAutoMoney)