From d6cb433e1519c83e9eaa6173b761cfc5b5d18656 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Aug 2017 20:39:20 +0300 Subject: Fix dragging items from mail edit window into other item containers. --- src/gui/widgets/itemcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/itemcontainer.cpp') 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) -- cgit v1.2.3-70-g09d2