summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-17 20:30:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 20:30:52 +0300
commit1f66ae673801e76f3574944628a7980b9bfbabda (patch)
tree129e320b826382da0603b3eed136f55b50a9d7e7 /src/gui/npcdialog.cpp
parentc2efedab22275302f0a10cc197424d345a021d18 (diff)
downloadManaVerse-1f66ae673801e76f3574944628a7980b9bfbabda.tar.gz
ManaVerse-1f66ae673801e76f3574944628a7980b9bfbabda.tar.bz2
ManaVerse-1f66ae673801e76f3574944628a7980b9bfbabda.tar.xz
ManaVerse-1f66ae673801e76f3574944628a7980b9bfbabda.zip
Fix npc menu selection by mouse.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index e67213bd8..ec33f3f0d 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -96,6 +96,7 @@ NpcDialog::NpcDialog(int npcId) :
mItemList->setWrappingEnabled(true);
mItemList->setActionEventId("ok");
mItemList->addActionListener(this);
+ mItemList->setDistributeMousePressed(false);
setContentSize(260, 175);