Commit 890cb5e6 authored by Gus Grubba's avatar Gus Grubba

Restore expanded state when enabling AirMap

parent 8a641e2d
......@@ -96,7 +96,10 @@ QGCView {
}
on_EnableAirMapChanged: {
if(!_enableAirMap) {
if(_enableAirMap) {
planControlColapsed = true
airspaceControl.colapsed = false
} else {
planControlColapsed = false
}
}
......@@ -563,7 +566,7 @@ QGCView {
height: ScreenTools.defaultFontPixelWidth * 2.5
sourceSize.height: height
source: "qrc:/airmap/expand.svg"
color: _colorWhite
color: "white"
anchors.right: parent.right
anchors.rightMargin: ScreenTools.defaultFontPixelWidth
anchors.verticalCenter: parent.verticalCenter
......
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