summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 01:27:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commit031a455d23a5b04bb2bcd32e43a946fd60be7c6a (patch)
tree1ed266901fd0b29f9b76ffab952e9150118666be /src/gui/widgets
parente8a57a478963950d2bf0ad5614e5f16240237b03 (diff)
downloadmanaverse-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')
-rw-r--r--src/gui/widgets/setupitem.cpp2
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")