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.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 3f16b0b4b..8b730218c 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -79,8 +79,10 @@ TradeWindow::TradeWindow() :
SelectionListener(),
mMyInventory(new Inventory(InventoryType::Trade, -1)),
mPartnerInventory(new Inventory(InventoryType::Trade, -1)),
- mMyItemContainer(new ItemContainer(this, mMyInventory)),
- mPartnerItemContainer(new ItemContainer(this, mPartnerInventory)),
+ mMyItemContainer(new ItemContainer(this, mMyInventory, 100000,
+ ShowEmptyRows_false, ForceQuantity_false)),
+ mPartnerItemContainer(new ItemContainer(this, mPartnerInventory, 100000,
+ ShowEmptyRows_false, ForceQuantity_false)),
// TRANSLATORS: trade window money label
mMoneyLabel(new Label(this, strprintf(_("You get %s"), ""))),
// TRANSLATORS: trade window button