Browse Source

Merge pull request #7332 from DonLakeFlyer/LogoVisibility

Fix toolbar logo visibility
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
1610244a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ChangeLog.md
  2. 2
      src/ui/toolbar/GPSRTKIndicator.qml
  3. 4
      src/ui/toolbar/LinkIndicator.qml

1
ChangeLog.md

@ -9,6 +9,7 @@ Note: This file only contains high level features or important fixes. @@ -9,6 +9,7 @@ Note: This file only contains high level features or important fixes.
* Major rewrite and bug fix pass through Structure Scan. Previous version had such bad problems that it can no longer be supported. Plans with Structure Scan will need to be recreated. New QGC will not load old Structure Scan plans.
### 3.5.1 - Not yet released
* Fix visibility of PX4/ArduPilot logo in toolbar
* Fix tile set count but in OfflineMaps which would cause image and elevation tile set to have incorrect counts and be incorrectly marked as download incomplete.
### 3.5.0 - Stable

2
src/ui/toolbar/GPSRTKIndicator.qml

@ -21,7 +21,7 @@ import QGroundControl.Palette 1.0 @@ -21,7 +21,7 @@ import QGroundControl.Palette 1.0
//-- GPS Indicator
Item {
id: satelitte
width: (gpsValuesColumn.x + gpsValuesColumn.width) * 1.1
width: visible ? (gpsValuesColumn.x + gpsValuesColumn.width) * 1.1 : 0
anchors.top: parent.top
anchors.bottom: parent.bottom
visible: QGroundControl.gpsRtk.connected.value

4
src/ui/toolbar/LinkIndicator.qml

@ -23,7 +23,8 @@ import QGroundControl.Vehicle 1.0 @@ -23,7 +23,8 @@ import QGroundControl.Vehicle 1.0
Item {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: priorityLinkSelector.width
width: visible ? priorityLinkSelector.width : 0
visible: _visible
property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
property bool _visible: false
@ -34,7 +35,6 @@ Item { @@ -34,7 +35,6 @@ Item {
font.pointSize: ScreenTools.mediumFontPointSize
color: qgcPal.buttonText
anchors.verticalCenter: parent.verticalCenter
visible: _visible
Menu {
id: linkSelectionMenu
}

Loading…
Cancel
Save