summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r--src/gui/npcpostdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp
index a7c9abf0b..0a78ef61c 100644
--- a/src/gui/npcpostdialog.cpp
+++ b/src/gui/npcpostdialog.cpp
@@ -43,7 +43,7 @@ NpcPostDialog::NpcPostDialog(const int npcId):
gcn::ActionListener(),
mNpcId(npcId),
mText(new TextBox),
- mSender(new TextField)
+ mSender(new TextField(this))
{
setContentSize(400, 180);