Commit 43090b3d authored by Don Gagne's avatar Don Gagne

Fix map button exclusivity

parent b8d25964
......@@ -61,6 +61,10 @@ Item {
id: _dropButtonsExclusiveGroup
}
ExclusiveGroup {
id: _mapTypeButtonsExclusiveGroup
}
//-- Map warnings
Column {
anchors.horizontalCenter: parent.horizontalCenter
......@@ -221,8 +225,10 @@ Item {
checked: _flightMap ? _flightMap.mapType === text : false
text: modelData
width: clearButton.width
exclusiveGroup: _mapTypeButtonsExclusiveGroup
onClicked: {
_flightMap.mapType = text
checked = true
_dropButtonsExclusiveGroup.current = null
}
}
......
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