summaryrefslogtreecommitdiff
path: root/src/gui
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
parent087010af8bef9769725517b7768d1f77ced247a0 (diff)
downloadplus-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.gz
plus-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.bz2
plus-6b9e75dbb02912bac23746abfddeb558c6c698ee.tar.xz
plus-6b9e75dbb02912bac23746abfddeb558c6c698ee.zip
Allow to show images in npc dialogs.
Diffstat (limited to 'src/gui')
-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);