Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2019-05-09 12:37:59 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2019-05-09 12:37:59 +0300
commit111430c9c26293a64016403a12c27e3fc8b33f18 (patch)
tree78f1abd24087ed380279e472fc7588c66d5ca998 /resources/qml/Toolbar.qml
parentecdf024da8e3d1c3f12717b601b9b6c743968237 (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.qml2
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