diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 01:27:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:19 +0300 |
commit | 031a455d23a5b04bb2bcd32e43a946fd60be7c6a (patch) | |
tree | 1ed266901fd0b29f9b76ffab952e9150118666be /src/gui/widgets/setupitem.cpp | |
parent | e8a57a478963950d2bf0ad5614e5f16240237b03 (diff) | |
download | ManaVerse-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.gz ManaVerse-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.bz2 ManaVerse-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.tar.xz ManaVerse-031a455d23a5b04bb2bcd32e43a946fd60be7c6a.zip |
move virtual member calls from editdialog constuctor into postInit.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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") |