This commit is contained in:
3djc
2016-12-03 15:53:30 +01:00
committed by Bertrand Songis
parent 9a43a6ebb7
commit 75cbe0f984
+4 -2
View File
@@ -83,9 +83,11 @@ void MdiChild::qSleep(int ms)
void MdiChild::eepromInterfaceChanged()
{
ui->modelsList->refreshList();
ui->SimulateTxButton->setEnabled(GetCurrentFirmware()/*firmware*/->getCapability(Simulation));
if (GetCurrentFirmware()->getBoard() == BOARD_HORUS && !HORUS_READY_FOR_RELEASE()) {
ui->SimulateTxButton->setDisabled(GetCurrentFirmware()/*firmware*/->getCapability(Simulation));
ui->SimulateTxButton->setEnabled(false);
}
else {
ui->SimulateTxButton->setEnabled(GetCurrentFirmware()->getCapability(Simulation));
}
updateTitle();
}