Fixed assert error
This commit is contained in:
@@ -287,7 +287,7 @@ class AppData: protected CompStoreObj
|
|||||||
int iconSize();
|
int iconSize();
|
||||||
int historySize();
|
int historySize();
|
||||||
int jsCtrl();
|
int jsCtrl();
|
||||||
int modelEditTab();
|
int modelEditTab(); // This variable is unused an can be removed
|
||||||
int id();
|
int id();
|
||||||
int theme();
|
int theme();
|
||||||
int warningId();
|
int warningId();
|
||||||
|
|||||||
@@ -141,6 +141,8 @@ void burnDialog::on_FlashLoadButton_clicked()
|
|||||||
QTimer::singleShot(0, this, SLOT(shrink()));
|
QTimer::singleShot(0, this, SLOT(shrink()));
|
||||||
if (hexType==FLASH_FILE_TYPE) {
|
if (hexType==FLASH_FILE_TYPE) {
|
||||||
fileName = QFileDialog::getOpenFileName(this, tr("Open Firmware File"), g.flashDir(), FLASH_FILES_FILTER);
|
fileName = QFileDialog::getOpenFileName(this, tr("Open Firmware File"), g.flashDir(), FLASH_FILES_FILTER);
|
||||||
|
if(fileName.isEmpty())
|
||||||
|
return;
|
||||||
checkFw(fileName);
|
checkFw(fileName);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user