Defined missed global variable (lastUpdatesDir).

Renamed lastDir to eepromDir, which is a better name.
This commit is contained in:
Kjell Kernen
2014-02-20 09:23:47 +01:00
parent 0cfbc7669d
commit 4385be717f
4 changed files with 33 additions and 29 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ void burnDialog::on_FlashLoadButton_clicked()
checkFw(fileName);
}
else {
QString fileName = QFileDialog::getOpenFileName(this,tr("Choose file to load Models and Settings from"), g.lastDir(), tr(EXTERNAL_EEPROM_FILES_FILTER));
QString fileName = QFileDialog::getOpenFileName(this,tr("Choose file to load Models and Settings from"), g.eepromDir(), tr(EXTERNAL_EEPROM_FILES_FILTER));
if (checkeEprom(fileName)) {
if (burnraw==false) {
ui->BurnFlashButton->setEnabled(true);