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 8b730218c..b264fc7fc 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -90,7 +90,8 @@ TradeWindow::TradeWindow() :
mOkButton(new Button(this, "", "", this)), // Will be filled in later
// TRANSLATORS: trade window money change button
mMoneyChangeButton(new Button(this, _("Change"), "money", this)),
- mMoneyField(new TextField(this)),
+ mMoneyField(new TextField(this, std::string(),
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
mAutoAddItem(nullptr),
mAutoAddToNick(""),
mGotMoney(0),