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/widgets/passwordfield.cpp | |
parent | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff) | |
download | manaplus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz manaplus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2 manaplus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz manaplus-81145e509cdba68c94c4173e16ddd492cd813db8.zip |
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/widgets/passwordfield.cpp')
-rw-r--r-- | src/gui/widgets/passwordfield.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/passwordfield.cpp b/src/gui/widgets/passwordfield.cpp index bc2ca4827..faa5bb876 100644 --- a/src/gui/widgets/passwordfield.cpp +++ b/src/gui/widgets/passwordfield.cpp @@ -28,10 +28,10 @@ PasswordField::PasswordField(const Widget2 *const widget, const std::string &text) : - TextField(widget, text), + TextField(widget, text, + LoseFocusOnTab_true, nullptr, std::string(), false), mPasswordChar(mSkin != nullptr ? CAST_8( - mSkin->getOption("passwordChar", 42)) - : CAST_8(42)) + mSkin->getOption("passwordChar", 42)) : CAST_8(42)) { } |