[Companion] OTX format bug with X9D boards
The files were always converted as X9D doesn't have its own FourCC
This commit is contained in:
@@ -507,7 +507,7 @@ bool MdiChild::loadFile(const QString & filename, bool resetCurrentFile)
|
||||
setCurrentFile(filename);
|
||||
}
|
||||
|
||||
if (storage.getBoard() != getCurrentBoard()) {
|
||||
if (!storage.isBoardCompatible(getCurrentBoard())) {
|
||||
convertStorage(storage.getBoard(), getCurrentBoard());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user