summaryrefslogtreecommitdiff
path: root/src/gui/changeemaildialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/changeemaildialog.cpp')
-rw-r--r--src/gui/changeemaildialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/changeemaildialog.cpp b/src/gui/changeemaildialog.cpp
index 51b108865..7026077e8 100644
--- a/src/gui/changeemaildialog.cpp
+++ b/src/gui/changeemaildialog.cpp
@@ -46,8 +46,8 @@
ChangeEmailDialog::ChangeEmailDialog(LoginData *const data):
Window(_("Change Email Address"), true, nullptr, "changeemail.xml"),
gcn::ActionListener(),
- mFirstEmailField(new TextField),
- mSecondEmailField(new TextField),
+ mFirstEmailField(new TextField(this)),
+ mSecondEmailField(new TextField(this)),
mChangeEmailButton(new Button(this, _("Change Email Address"),
"change_email", this)),
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),