summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-09 01:36:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-09 01:45:28 +0300
commite153ea49f7442a82651e4e35f2be59c459ad32cb (patch)
tree8daace3c1691df379296600af4ce3ab3ba5325d0 /src/gui/windows/npcdialog.cpp
parentb2c430f8e0fd67c6529227f8e8bebdc407ef530d (diff)
downloadmanaverse-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.gz
manaverse-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.bz2
manaverse-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.xz
manaverse-e153ea49f7442a82651e4e35f2be59c459ad32cb.zip
Use all parameters in browserbox constructors.
Also load browserbox skin for each instance.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index a302672f7..f4cecbb88 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -84,7 +84,7 @@ NpcDialog::NpcDialog(const int npcId) :
mNpcId(npcId),
mDefaultInt(0),
mDefaultString(),
- mTextBox(new BrowserBox(this, BrowserBox::AUTO_WRAP)),
+ mTextBox(new BrowserBox(this, BrowserBox::AUTO_WRAP, true)),
mScrollArea(new ScrollArea(mTextBox,
getOptionBool("showtextbackground"), "npc_textbackground.xml")),
mText(),