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/maileditwindow.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/maileditwindow.cpp')
-rw-r--r-- | src/gui/windows/maileditwindow.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp index 1da222b30..b70188786 100644 --- a/src/gui/windows/maileditwindow.cpp +++ b/src/gui/windows/maileditwindow.cpp @@ -69,11 +69,14 @@ MailEditWindow::MailEditWindow() : mItemLabel(new Label(this, _("Item:"))), // TRANSLATORS: mail edit window label mMessageLabel(new Label(this, _("Message:"))), - mToField(new TextField(this)), - mSubjectField(new TextField(this)), + mToField(new TextField(this, std::string(), LoseFocusOnTab_true, + nullptr, std::string(), false)), + mSubjectField(new TextField(this, std::string(), LoseFocusOnTab_true, + nullptr, std::string(), false)), mMoneyField(new IntTextField(this, 0, 0, settings.enableNewMailSystem ? INT_MAX : 10000000, Enable_true, 0)), - mMessageField(new TextField(this)), + mMessageField(new TextField(this, std::string(), LoseFocusOnTab_true, + nullptr, std::string(), false)), mInventory(new Inventory(InventoryType::MailEdit, settings.enableNewMailSystem ? -1 : 1)), mItemContainer(new ItemContainer(this, mInventory, 100000, |