From 031a455d23a5b04bb2bcd32e43a946fd60be7c6a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 01:27:00 +0300 Subject: move virtual member calls from editdialog constuctor into postInit. --- src/gui/widgets/setupitem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 6d1c38d48..862fc11d6 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -345,6 +345,7 @@ void SetupItemTextField::action(const gcn::ActionEvent &event) { mEditDialog = new EditDialog(mText, mTextField->getText(), mEventName + "_EDIT_OK"); + mEditDialog->postInit(); mEditDialog->addActionListener(this); } else if (eventId == mEventName + "_EDIT_OK") @@ -472,6 +473,7 @@ void SetupItemIntTextField::action(const gcn::ActionEvent &event) { mEditDialog = new EditDialog(mText, mTextField->getText(), mEventName + "_EDIT_OK"); + mEditDialog->postInit(); mEditDialog->addActionListener(this); } else if (eventId == mEventName + "_EDIT_OK") -- cgit v1.2.3-70-g09d2