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
+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 {