summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index e1b139bd8..a6c7fe857 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -107,6 +107,8 @@ NpcDialog::NpcDialog(const BeingId npcId) :
"npc_textbackground.xml")),
mText(),
mNewText(),
+ mItems(),
+ mImages(),
mItemList(CREATEWIDGETR(ExtendedListBox,
this, this, "extendedlistbox.xml")),
mListScrollArea(new ScrollArea(this, mItemList,
@@ -116,8 +118,6 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mSkinScrollArea(new ScrollArea(this, mSkinContainer,
fromBool(getOptionBool("showlistbackground"), Opaque),
"npc_listbackground.xml")),
- mItems(),
- mImages(),
mItemLinkHandler(new ItemLinkHandler),
mTextField(new TextField(this, "")),
mIntField(new IntTextField(this)),