chore(cpn): Disable backup and restore for all radios (#3824)

completely broken with the move to yaml for B&W radios
This commit is contained in:
Neil Horne
2023-07-19 11:18:59 +10:00
committed by GitHub
parent 9fada5c09d
commit 3a8a86a88f
+2 -8
View File
@@ -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) {