summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/npcpostdialog.cpp4
-rw-r--r--src/gui/windows/npcpostdialog.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index d1542d0bb..2eb20fbf8 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -49,6 +49,10 @@ NpcPostDialog::NpcPostDialog(const int npcId):
{
setContentSize(400, 180);
+}
+
+void NpcPostDialog::postInit()
+{
// create text field for receiver
// TRANSLATORS: label in npc post dialog
Label *const senderText = new Label(this, _("To:"));
diff --git a/src/gui/windows/npcpostdialog.h b/src/gui/windows/npcpostdialog.h
index 9ac3537e2..d3ccb5788 100644
--- a/src/gui/windows/npcpostdialog.h
+++ b/src/gui/windows/npcpostdialog.h
@@ -43,6 +43,8 @@ class NpcPostDialog final : public Window,
~NpcPostDialog();
+ void postInit();
+
/**
* Called when receiving actions from the widgets.
*/