Unverified Commit b7deac60 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8126 from mavlink/pr-analyze-check

Must manually check the button when clicked.
parents ca8386b0 0cdf98ae
...@@ -134,13 +134,13 @@ Rectangle { ...@@ -134,13 +134,13 @@ Rectangle {
Repeater { Repeater {
id: buttonRepeater id: buttonRepeater
model: ScreenTools.isMobile ? mobileModel : desktopModel model: ScreenTools.isMobile ? mobileModel : desktopModel
Component.onCompleted: itemAt(0).checked = true Component.onCompleted: itemAt(0).checked = true
SubMenuButton { SubMenuButton {
imageResource: buttonImage imageResource: buttonImage
setupIndicator: false setupIndicator: false
exclusiveGroup: setupButtonGroup exclusiveGroup: setupButtonGroup
text: buttonText text: buttonText
onClicked: panelLoader.source = pageSource onClicked: { panelLoader.source = pageSource; checked = true; }
} }
} }
} }
......
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