summaryrefslogtreecommitdiff
path: root/src/gui/windows/editdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/editdialog.h')
-rw-r--r--src/gui/windows/editdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/editdialog.h b/src/gui/windows/editdialog.h
index 4199b6791..ce5160906 100644
--- a/src/gui/windows/editdialog.h
+++ b/src/gui/windows/editdialog.h
@@ -52,6 +52,8 @@ class EditDialog final : public Window, public gcn::ActionListener
A_DELETE_COPY(EditDialog)
+ void postInit() override;
+
/**
* Called when receiving actions from the widgets.
*/
@@ -62,8 +64,8 @@ class EditDialog final : public Window, public gcn::ActionListener
private:
std::string mEventOk;
-
TextField *mTextField;
+ int mDefaultWidth;
};
#endif // GUI_WINDOWS_EDITDIALOG_H