[Companion] Fixes #4777 (#4860)

This commit is contained in:
Bertrand Songis
2017-04-26 21:43:35 +02:00
committed by GitHub
parent f10bad7abe
commit 3aceed62c9
5 changed files with 37 additions and 39 deletions
+1 -1
View File
@@ -702,7 +702,7 @@ void MdiChild::onFirmwareChanged()
Firmware * previous = firmware;
firmware = getCurrentFirmware();
//qDebug() << "onFirmwareChanged" << previous->getName() << "=>" << firmware->getName();
if (previous->getBoard() != firmware->getBoard()) {
if (StorageFormat::getFourCC(previous->getBoard()) != StorageFormat::getFourCC(firmware->getBoard())) {
convertStorage(previous->getBoard(), firmware->getBoard());
setModified();
}