From 24f7c7ffde8b41844bcc1bc682d7719047ea7640 Mon Sep 17 00:00:00 2001 From: Neil Horne Date: Wed, 19 Jul 2023 11:18:59 +1000 Subject: [PATCH] chore(cpn): Disable backup and restore for all radios (#3824) completely broken with the move to yaml for B&W radios --- companion/src/mainwindow.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 95e84e6fe1f..2ddeb183dbe 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -690,14 +690,8 @@ void MainWindow::updateMenus() compareAct->setEnabled(activeChild); writeSettingsAct->setEnabled(activeChild); readSettingsAct->setEnabled(true); - if (IS_FAMILY_HORUS_OR_T16(getCurrentBoard())) { - writeBUToRadioAct->setEnabled(false); - readBUToFileAct->setEnabled(false); - } - else { - writeBUToRadioAct->setEnabled(true); - readBUToFileAct->setEnabled(true); - } + writeBUToRadioAct->setEnabled(false); + readBUToFileAct->setEnabled(false); editSplashAct->setDisabled(IS_FAMILY_HORUS_OR_T16(getCurrentBoard())); foreach (QAction * act, fileWindowActions) {