diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 00:14:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | 504219f9df4b9dda139dd832e263a136e51c4851 (patch) | |
tree | 36daaa884d7c3fa64e6d6f2ba3ccb382e2201d8f /src/gui/npcdialog.cpp | |
parent | d59cd9111c1e86b224ea62cc975c49b157e2b3cf (diff) | |
download | mv-504219f9df4b9dda139dd832e263a136e51c4851.tar.gz mv-504219f9df4b9dda139dd832e263a136e51c4851.tar.bz2 mv-504219f9df4b9dda139dd832e263a136e51c4851.tar.xz mv-504219f9df4b9dda139dd832e263a136e51c4851.zip |
Add palette inheritance to browserbox class.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r-- | src/gui/npcdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 566a44e0b..3e2e860f1 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -66,7 +66,7 @@ NpcDialog::NpcDialog(const int npcId) : mNpcId(npcId), mLogInteraction(config.getBoolValue("logNpcInGui")), mDefaultInt(0), - mTextBox(new BrowserBox(BrowserBox::AUTO_WRAP)), + mTextBox(new BrowserBox(this, BrowserBox::AUTO_WRAP)), mScrollArea(new ScrollArea(mTextBox, getOptionBool("showtextbackground"), "npc_textbackground.xml")), mItemList(new ExtendedListBox(this, this)), |