[Companion] All Horus functions now enabled

This commit is contained in:
Bertrand Songis
2017-01-18 10:55:37 +01:00
parent 98357995fa
commit 61e91a9c32
5 changed files with 22 additions and 62 deletions
+1 -6
View File
@@ -94,12 +94,7 @@ void MdiChild::refresh(bool expand)
if (1 || expand) {
ui->modelsList->expandAll();
}
if (GetCurrentFirmware()->getBoard() == BOARD_HORUS && !HORUS_READY_FOR_RELEASE()) {
ui->simulateButton->setEnabled(false);
}
else {
ui->simulateButton->setEnabled(GetCurrentFirmware()->getCapability(Simulation));
}
ui->simulateButton->setEnabled(GetCurrentFirmware()->getCapability(Simulation));
updateTitle();
}