Fixed assert error
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user