Browse Source

Merge pull request #2224 from dogmaphobic/buttonOrder

Fix tool button order in mission view.
QGC4.4
Gus Grubba 10 years ago
parent
commit
c8297d2eb7
  1. 22
      src/MissionEditor/MissionEditor.qml

22
src/MissionEditor/MissionEditor.qml

@ -782,6 +782,17 @@ QGCView { @@ -782,6 +782,17 @@ QGCView {
*/
DropButton {
id: syncButton
dropDirection: dropRight
buttonImage: _syncNeeded ? "/qmlimages/MapSyncChanged.svg" : "/qmlimages/MapSync.svg"
viewportMargins: ScreenTools.defaultFontPixelWidth / 2
exclusiveGroup: _dropButtonsExclusiveGroup
z: QGroundControl.zOrderWidgets
dropDownComponent: syncDropDownComponent
enabled: !_syncInProgress
}
DropButton {
id: centerMapButton
dropDirection: dropRight
buttonImage: "/qmlimages/MapCenter.svg"
@ -824,17 +835,6 @@ QGCView { @@ -824,17 +835,6 @@ QGCView {
}
DropButton {
id: syncButton
dropDirection: dropRight
buttonImage: _syncNeeded ? "/qmlimages/MapSyncChanged.svg" : "/qmlimages/MapSync.svg"
viewportMargins: ScreenTools.defaultFontPixelWidth / 2
exclusiveGroup: _dropButtonsExclusiveGroup
z: QGroundControl.zOrderWidgets
dropDownComponent: syncDropDownComponent
enabled: !_syncInProgress
}
DropButton {
id: mapTypeButton
dropDirection: dropRight
buttonImage: "/qmlimages/MapType.svg"

Loading…
Cancel
Save