diff options
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r-- | src/gui/editdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index f4a71b47e..cb96adca3 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -35,11 +35,11 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg, std::string eventOk, const int width, Window *const parent, const bool modal): - Window(title, modal, parent, "edit.xml") + Window(title, modal, parent, "edit.xml"), + ActionListener(), + mTextField(new TextField) { - mTextField = new TextField; mTextField->setText(msg); - mEventOk = eventOk; gcn::Button *const okButton = new Button(_("OK"), mEventOk, this); |