Skip to content

Commit

Permalink
Prevent mouse bleed through
Browse files Browse the repository at this point in the history
  • Loading branch information
DonLakeFlyer committed Feb 11, 2025
1 parent 73a44b7 commit 4a74966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/QtLocationPlugin/QMLControl/OfflineMapEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ FlightMap {
resetMapToDefaults()
updateMap()
savedCenter = _map.toCoordinate(Qt.point(_map.width / 2, _map.height / 2), false /* clipToViewPort */)
settingsPage.enabled = false // Prevent mouse events from bleeding through to the settings page which is below this in hierarchy
}

Component.onDestruction: settingsPage.enabled = true

Connections {
target: QGroundControl.mapEngineManager
onErrorMessageChanged: errorDialogComponent.createObject(mainWindow).open()
Expand Down

0 comments on commit 4a74966

Please sign in to comment.