From 75cbe0f984243d60740a78fbd0dd144535cf9802 Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 3 Dec 2016 15:53:30 +0100 Subject: [PATCH] Fix (#4090) --- companion/src/mdichild.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index a55cc756f..88dae8cc3 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -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(); }