Skip to content

Commit

Permalink
chore(cpn): Disable backup and restore for all radios (#3824)
Browse files Browse the repository at this point in the history
completely broken with the move to yaml for B&W radios
  • Loading branch information
Neil Horne authored Jul 19, 2023
1 parent 9fada5c commit 3a8a86a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions companion/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a8a86a

Please sign in to comment.