diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 275103a25..aca1ef4b3 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -926,6 +926,9 @@ void Gui::distributeMouseEvent(Widget *const source, if (type == MouseEvent::RELEASED) dragDrop.clear(); + if (event.isConsumed()) + break; + // If a non modal focused widget has been reach // and we have modal focus cancel the distribution. if (mFocusHandler->getModalFocused() |