From 3a8a86a88fcdb14ac64951ef211dfd61ee95e799 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 a63b7e5d1..e12efd7b4 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) {