summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index fb361d8c0..a34936c0c 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -68,9 +68,9 @@ TradeWindow::TradeWindow():
mMyItemContainer(new ItemContainer(mMyInventory.get())),
mPartnerItemContainer(new ItemContainer(mPartnerInventory.get())),
mMoneyLabel(new Label(strprintf(_("You get %s"), ""))),
- mAddButton(new Button(_("Add"), "add", this)),
- mOkButton(new Button("", "", this)), // Will be filled in later
- mMoneyChangeButton(new Button(_("Change"), "money", this)),
+ mAddButton(new Button(this, _("Add"), "add", this)),
+ mOkButton(new Button(this, "", "", this)), // Will be filled in later
+ mMoneyChangeButton(new Button(this, _("Change"), "money", this)),
mMoneyField(new TextField),
mStatus(PROPOSING),
mAutoAddItem(nullptr),