diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2019-05-09 12:37:59 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2019-05-09 12:37:59 +0300 |
commit | 111430c9c26293a64016403a12c27e3fc8b33f18 (patch) | |
tree | 78f1abd24087ed380279e472fc7588c66d5ca998 /resources/qml/Toolbar.qml | |
parent | ecdf024da8e3d1c3f12717b601b9b6c743968237 (diff) |
Catch scroll events and not propagate them to the main view
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r-- | resources/qml/Toolbar.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml index 33481b9183..c2a70143c3 100644 --- a/resources/qml/Toolbar.qml +++ b/resources/qml/Toolbar.qml @@ -182,6 +182,8 @@ Item MouseArea //Catch all mouse events (so scene doesnt handle them) { anchors.fill: parent + acceptedButtons: Qt.NoButton + onWheel: wheel.accepted = true } Loader |