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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index a34936c0c..a9083abaf 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -71,7 +71,7 @@ TradeWindow::TradeWindow():
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),
+ mMoneyField(new TextField(this)),
mStatus(PROPOSING),
mAutoAddItem(nullptr),
mAutoAddToNick(""),