diff options
Diffstat (limited to 'src/gui/textdialog.cpp')
-rw-r--r-- | src/gui/textdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp index e4784d602..88160e9aa 100644 --- a/src/gui/textdialog.cpp +++ b/src/gui/textdialog.cpp @@ -53,12 +53,12 @@ TextDialog::TextDialog(const std::string &title, const std::string &msg, place(0, 0, textLabel, 4); if (isPassword) { - mPasswordField = new PasswordField; + mPasswordField = new PasswordField(this); place(0, 1, mPasswordField, 4); } else { - mTextField = new TextField; + mTextField = new TextField(this); place(0, 1, mTextField, 4); } place(2, 2, mOkButton); |