Browse Source

Merge pull request #8507 from DonLakeFlyer/SwitchToSetupView

Programmatic switch to SetupView leaves two buttons selected
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
4e446898e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/ui/toolbar/MainToolBar.qml

3
src/ui/toolbar/MainToolBar.qml

@ -42,7 +42,8 @@ Item {
Connections { Connections {
target: setupWindow target: setupWindow
onVisibleChanged: { onVisibleChanged: {
if(setupWindow.visible) { if (setupWindow.visible) {
buttonRow.clearAllChecks()
setupButton.checked = true setupButton.checked = true
} }
} }

Loading…
Cancel
Save