summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 20:39:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 20:39:20 +0300
commitd6cb433e1519c83e9eaa6173b761cfc5b5d18656 (patch)
tree3ef99bd59da3dc82b94f396974dfae82b461c853 /src/gui
parent59e289090a6845f8b9d6a4a4c6067cf6280e3d20 (diff)
downloadmanaverse-d6cb433e1519c83e9eaa6173b761cfc5b5d18656.tar.gz
manaverse-d6cb433e1519c83e9eaa6173b761cfc5b5d18656.tar.bz2
manaverse-d6cb433e1519c83e9eaa6173b761cfc5b5d18656.tar.xz
manaverse-d6cb433e1519c83e9eaa6173b761cfc5b5d18656.zip
Fix dragging items from mail edit window into other item containers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 2e36ad677..b6ac3cff3 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -1027,6 +1027,8 @@ void ItemContainer::mouseReleased(MouseEvent &event)
}
else if (src == DragDropSource::MailEdit)
{
+ if (event.getType() == MouseEventType::RELEASED2)
+ return;
if (settings.enableNewMailSystem)
{
if (mailEditWindow == nullptr)