Bump Companion settings version to force upgrade of profiles

This commit is contained in:
elecpower
2021-12-31 10:53:11 +01:00
committed by Raphael Coeffic
parent 0c88f4e52b
commit 03a6e9edc8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ void AppData::convertSettings(QSettings & settings)
<< fmtHex(CPN_SETTINGS_VERSION) << " (" << fmtHex(currMajMin) << "). Removing unused: " << removeUnused;
// firmwares renamed from opentx-* to edgetx-* at 2.6
if (savedMajMin < 0x206) {
if (savedMajMin <= 0x207) { // Note: change merged post 2.6 rc 1 and version bumped to 2.7 the Nightly users also require upgrade
qInfo().noquote() << "Converting profiles";
static const QString profileFwTypePath = QStringLiteral("Profiles/profile%1/fwType");
for (int i = 0; i < MAX_PROFILES; i++) {