summaryrefslogtreecommitdiff
path: root/src/gui/windows/changeemaildialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
commit81145e509cdba68c94c4173e16ddd492cd813db8 (patch)
tree3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/windows/changeemaildialog.cpp
parent5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff)
downloadmv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.zip
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/changeemaildialog.cpp')
-rw-r--r--src/gui/windows/changeemaildialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/changeemaildialog.cpp b/src/gui/windows/changeemaildialog.cpp
index 9d9358967..efb8bbcab 100644
--- a/src/gui/windows/changeemaildialog.cpp
+++ b/src/gui/windows/changeemaildialog.cpp
@@ -47,8 +47,10 @@ ChangeEmailDialog::ChangeEmailDialog(LoginData &data) :
// TRANSLATORS: change email dialog header
Window(_("Change Email Address"), Modal_true, nullptr, "changeemail.xml"),
ActionListener(),
- mFirstEmailField(new TextField(this)),
- mSecondEmailField(new TextField(this)),
+ mFirstEmailField(new TextField(this, std::string(), LoseFocusOnTab_true,
+ nullptr, std::string(), false)),
+ mSecondEmailField(new TextField(this, std::string(), LoseFocusOnTab_true,
+ nullptr, std::string(), false)),
// TRANSLATORS: button in change email dialog
mChangeEmailButton(new Button(this, _("Change Email Address"),
"change_email", this)),