Catch scroll events and not propagate them to the main view

This commit is contained in:
Diego Prado Gesto 2019-05-09 11:37:59 +02:00
parent ecdf024da8
commit 111430c9c2

View File

@ -182,6 +182,8 @@ Item
MouseArea //Catch all mouse events (so scene doesnt handle them) MouseArea //Catch all mouse events (so scene doesnt handle them)
{ {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.NoButton
onWheel: wheel.accepted = true
} }
Loader Loader