Bsongis/issue 4400 (#4425)
* Cosmetics before fixing #4400 * Cosmetics before fixing #4400 * Now one more conversion issue (SF => SH sources conversion from X9D to X7) I don't know what is exactly the conversion issue as I don't have the original EEPROM, but I used this one for my tests, so I fix it * Now we display correctly the corrupted mixers list so that copy/paste will work correctly (it was not consistent) + some cosmetics * Test removed too quickly * One global removed ;)
This commit is contained in:
@@ -605,7 +605,7 @@ bool MdiChild::saveAs(bool isNew)
|
||||
if (isNew)
|
||||
return saveFile(fileName);
|
||||
else
|
||||
return saveFile(fileName,true);
|
||||
return saveFile(fileName, true);
|
||||
}
|
||||
|
||||
bool MdiChild::saveFile(const QString & filename, bool setCurrent)
|
||||
@@ -614,7 +614,6 @@ bool MdiChild::saveFile(const QString & filename, bool setCurrent)
|
||||
Storage storage(filename);
|
||||
bool result = storage.write(radioData);
|
||||
if (!result) {
|
||||
QMessageBox::warning(this, "Companion", tr("Cannot save file"), QMessageBox::Ok);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user