Commit 991d4102 authored by Don Gagne's avatar Don Gagne

Merge pull request #2578 from DonLakeFlyer/MapSteal

Prevent map from stealing ListView scrolls
parents ad8bab8a 549d7c85
......@@ -359,6 +359,14 @@ QGCView {
opacity: _rightPanelOpacity
z: QGroundControl.zOrderTopMost
MouseArea {
// This MouseArea prevents the Map below it from getting Mouse events. Without this
// things like mousewheel will scroll the Flickable and then scroll the map as well.
anchors.fill: parent
preventStealing: true
onWheel: wheel.accepted = true
}
ListView {
anchors.fill: parent
spacing: _margin / 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment