Fix (#4090)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user