diff options
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r-- | src/gui/editdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index a022988e5..94546becb 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -37,7 +37,7 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg, Window *const parent, const bool modal): Window(title, modal, parent, "edit.xml"), gcn::ActionListener(), - mTextField(new TextField) + mTextField(new TextField(this)) { mTextField->setText(msg); mEventOk = eventOk; |