fix(cpn): update last used directory on save (#5629)
This commit is contained in:
@@ -1327,8 +1327,6 @@ bool MdiChild::saveAs(bool isNew)
|
||||
}
|
||||
while (QFileInfo(fileName).suffix().toLower() != "etx");
|
||||
|
||||
g.eepromDir(QFileInfo(fileName).dir().absolutePath());
|
||||
|
||||
return saveFile(fileName, true);
|
||||
}
|
||||
|
||||
@@ -1341,6 +1339,8 @@ bool MdiChild::saveFile(const QString & filename, bool setCurrent)
|
||||
return false;
|
||||
}
|
||||
|
||||
g.eepromDir(QFileInfo(filename).dir().absolutePath());
|
||||
|
||||
for (int i = 0; i < (int)radioData.models.size(); i++) {
|
||||
if (!radioData.models[i].isEmpty())
|
||||
radioData.models[i].modelUpdated = false;
|
||||
|
||||
Reference in New Issue
Block a user