Read/write backup fixes: (#4327)

* Read/write backup fixes:
 * radio not found was show behind all windows (missing parent)
 * bad behavior on write when radio not found

* Disable model backup read/write for Horus (needs implementation)
This commit is contained in:
Damjan Adamic
2017-01-29 09:59:58 +01:00
committed by Bertrand Songis
parent 8e73d25f1c
commit d5e3fabf03
4 changed files with 23 additions and 7 deletions
+2 -2
View File
@@ -351,7 +351,7 @@ bool readEeprom(const QString & filename, ProgressWidget * progress)
path = findMassstoragePath("ERSKY9X.BIN");
}
if (path.isEmpty()) {
RadioNotFoundDialog dialog;
RadioNotFoundDialog dialog(progress);
dialog.exec();
return false;
}
@@ -398,7 +398,7 @@ bool writeEeprom(const QString & filename, ProgressWidget * progress)
}
if (IS_ARM(board)) {
RadioNotFoundDialog dialog;
RadioNotFoundDialog dialog(progress);
dialog.exec();
}