Skip to content

Commit 24f7c7f

Browse files
Neil Hornepfeerick
Neil Horne
authored andcommitted
chore(cpn): Disable backup and restore for all radios (#3824)
completely broken with the move to yaml for B&W radios
1 parent 39ef0e7 commit 24f7c7f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

companion/src/mainwindow.cpp

+2-8
Original file line numberDiff line numberDiff line change
@@ -690,14 +690,8 @@ void MainWindow::updateMenus()
690690
compareAct->setEnabled(activeChild);
691691
writeSettingsAct->setEnabled(activeChild);
692692
readSettingsAct->setEnabled(true);
693-
if (IS_FAMILY_HORUS_OR_T16(getCurrentBoard())) {
694-
writeBUToRadioAct->setEnabled(false);
695-
readBUToFileAct->setEnabled(false);
696-
}
697-
else {
698-
writeBUToRadioAct->setEnabled(true);
699-
readBUToFileAct->setEnabled(true);
700-
}
693+
writeBUToRadioAct->setEnabled(false);
694+
readBUToFileAct->setEnabled(false);
701695
editSplashAct->setDisabled(IS_FAMILY_HORUS_OR_T16(getCurrentBoard()));
702696

703697
foreach (QAction * act, fileWindowActions) {

0 commit comments

Comments
 (0)