Browse Source

Merge pull request #8125 from mavlink/pr-settings-version

Bump settings version
QGC4.4
Gus Grubba 5 years ago committed by GitHub
parent
commit
ca8386b08d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/QGCConfig.h
  2. 2
      src/ui/preferences/GeneralSettings.qml

2
src/QGCConfig.h

@ -10,6 +10,6 @@ @@ -10,6 +10,6 @@
// If you need to make an incompatible changes to stored settings, bump this version number
// up by 1. This will caused store settings to be cleared on next boot.
#define QGC_SETTINGS_VERSION 8
#define QGC_SETTINGS_VERSION 9
#endif // QGC_CONFIGURATION_H

2
src/ui/preferences/GeneralSettings.qml

@ -173,6 +173,7 @@ Rectangle { @@ -173,6 +173,7 @@ Rectangle {
}
Component.onCompleted: {
var index = mapCombo.find(_mapProvider)
if(index < 0) index = 0
mapCombo.currentIndex = index
}
}
@ -190,6 +191,7 @@ Rectangle { @@ -190,6 +191,7 @@ Rectangle {
}
Component.onCompleted: {
var index = mapTypeCombo.find(_mapType)
if(index < 0) index = 0
mapTypeCombo.currentIndex = index
}
}

Loading…
Cancel
Save