diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-22 16:17:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-22 16:17:55 +0300 |
commit | 937518a2587c2c63649c2e011c33338b7eafe87c (patch) | |
tree | 0cdb75949f69c84c0e01358037e9f82c7ea21fa3 /src/gui/gui.cpp | |
parent | 7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1 (diff) | |
download | mv-937518a2587c2c63649c2e011c33338b7eafe87c.tar.gz mv-937518a2587c2c63649c2e011c33338b7eafe87c.tar.bz2 mv-937518a2587c2c63649c2e011c33338b7eafe87c.tar.xz mv-937518a2587c2c63649c2e011c33338b7eafe87c.zip |
Block consumed mouse events handling.
Diffstat (limited to 'src/gui/gui.cpp')
-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() |