summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcpostdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r--src/gui/windows/npcpostdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index 48324cb40..3fdb42cb7 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -43,9 +43,9 @@ NpcPostDialog::NpcPostDialog(const int npcId):
// TRANSLATORS: npc post dialog caption
Window(_("NPC"), false, nullptr, "npcpost.xml"),
ActionListener(),
- mNpcId(npcId),
mText(new TextBox(this)),
- mSender(new TextField(this))
+ mSender(new TextField(this)),
+ mNpcId(npcId)
{
setContentSize(400, 180);
}