Fixed assert error

This commit is contained in:
Kjell Kernen
2014-02-23 16:10:19 +01:00
parent eafc5b8359
commit d8f7bde324
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ class AppData: protected CompStoreObj
int iconSize();
int historySize();
int jsCtrl();
int modelEditTab();
int modelEditTab(); // This variable is unused an can be removed
int id();
int theme();
int warningId();
+2
View File
@@ -141,6 +141,8 @@ void burnDialog::on_FlashLoadButton_clicked()
QTimer::singleShot(0, this, SLOT(shrink()));
if (hexType==FLASH_FILE_TYPE) {
fileName = QFileDialog::getOpenFileName(this, tr("Open Firmware File"), g.flashDir(), FLASH_FILES_FILTER);
if(fileName.isEmpty())
return;
checkFw(fileName);
}
else {