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/textdialog.cpp | |
parent | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff) | |
download | plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2 plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz plus-81145e509cdba68c94c4173e16ddd492cd813db8.zip |
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/textdialog.cpp')
-rw-r--r-- | src/gui/windows/textdialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp index d73c056d0..405e4667c 100644 --- a/src/gui/windows/textdialog.cpp +++ b/src/gui/windows/textdialog.cpp @@ -67,7 +67,12 @@ TextDialog::TextDialog(const std::string &restrict title, } else { - mTextField = new TextField(this); + mTextField = new TextField(this, + std::string(), + LoseFocusOnTab_true, + nullptr, + std::string(), + false); place(0, 1, mTextField, 4, 1); } place(2, 2, mOkButton, 1, 1); |