diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
commit | 81145e509cdba68c94c4173e16ddd492cd813db8 (patch) | |
tree | 3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/windows/tradewindow.cpp | |
parent | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff) | |
download | manaverse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz manaverse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2 manaverse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz manaverse-81145e509cdba68c94c4173e16ddd492cd813db8.zip |
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 3 |
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), |