summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-05 22:49:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-05 22:49:42 +0300
commit6b9e75dbb02912bac23746abfddeb558c6c698ee (patch)
tree4fd5d5ecdf6511c5149f465fb5608d4c81c6c71c /src/gui/windows/npcdialog.cpp
parent087010af8bef9769725517b7768d1f77ced247a0 (diff)
downloadmv-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.gz
mv-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.bz2
mv-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.xz
mv-6b9e75dbb02912bac23746abfddeb558c6c698ee.zip
Allow to show images in npc dialogs.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 60c8f06d6..585e8ab2f 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -172,6 +172,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mTextBox->setFont(gui->getNpcFont());
mTextBox->setEnableKeys(true);
mTextBox->setEnableTabs(true);
+ mTextBox->setEnableImages(true);
mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mScrollArea->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS);