summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-21 02:23:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-21 02:23:37 +0300
commitb5c71a87d2a0c2c6981331d5958b474162934532 (patch)
tree7856fc9f506476f302755ba185a08dadd2d35516 /src/gui/windows
parentce2eb9e56d8c54fd26023e073cb29b3bb3b60de2 (diff)
downloadmv-b5c71a87d2a0c2c6981331d5958b474162934532.tar.gz
mv-b5c71a87d2a0c2c6981331d5958b474162934532.tar.bz2
mv-b5c71a87d2a0c2c6981331d5958b474162934532.tar.xz
mv-b5c71a87d2a0c2c6981331d5958b474162934532.zip
Remove browserboxmode.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/npcdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 7b1cedfd2..3e1240c2c 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -100,7 +100,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mNpcId(npcId),
mDefaultInt(0),
mDefaultString(),
- mTextBox(new BrowserBox(this, BrowserBoxMode::AUTO_WRAP, Opaque_true,
+ mTextBox(new BrowserBox(this, Opaque_true,
"browserbox.xml")),
mScrollArea(new ScrollArea(this, mTextBox,
fromBool(getOptionBool("showtextbackground"), Opaque),
@@ -1293,7 +1293,6 @@ void NpcDialog::createSkinControls()
{
const NpcTextInfo *const info = *it;
BrowserBox *box = new BrowserBox(this,
- BrowserBoxMode::AUTO_WRAP,
Opaque_true,
"browserbox.xml");
box->setOpaque(Opaque_false);