Commit 2470a621 authored by Don Gagne's avatar Don Gagne

Fix settings bug

parent a220ddf5
...@@ -378,6 +378,8 @@ void QGCApplication::_initCommon(void) ...@@ -378,6 +378,8 @@ void QGCApplication::_initCommon(void)
} else if (settings.allKeys().count()) { } else if (settings.allKeys().count()) {
// Settings version key is missing and there are settings. This is an upgrade scenario. // Settings version key is missing and there are settings. This is an upgrade scenario.
settingsUpgraded = true; settingsUpgraded = true;
} else {
settings.setValue(_settingsVersionKey, QGC_SETTINGS_VERSION);
} }
if (settingsUpgraded) { if (settingsUpgraded) {
......
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