From f5b5da86ce2c42508578f231d2cbf9ae2ef43ff2 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Thu, 16 Sep 2021 19:36:04 +1000 Subject: [PATCH] Disable unavailable Companion Preferences and tweak more legacy wording (#737) * Fix references to opentx * Disable update related options in preferences --- companion/src/apppreferencesdialog.cpp | 5 +++++ companion/src/apppreferencesdialog.ui | 4 ++-- companion/src/simulation/simulatorstartupdialog.ui | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/companion/src/apppreferencesdialog.cpp b/companion/src/apppreferencesdialog.cpp index c235788df..99f0bb90f 100644 --- a/companion/src/apppreferencesdialog.cpp +++ b/companion/src/apppreferencesdialog.cpp @@ -164,6 +164,11 @@ void AppPreferencesDialog::initSettings() { const Profile & profile = g.currentProfile(); + // Disable these for now, until online elements are implemented + ui->autoCheckFirmware->setDisabled(true); + ui->autoCheckCompanion->setDisabled(true); + ui->OpenTxBranch->setDisabled(true); + ui->snapshotClipboardCKB->setChecked(g.snapToClpbrd()); ui->burnFirmware->setChecked(profile.burnFirmware()); ui->snapshotPath->setText(g.snapshotDir()); diff --git a/companion/src/apppreferencesdialog.ui b/companion/src/apppreferencesdialog.ui index 80301223d..a3156efa3 100644 --- a/companion/src/apppreferencesdialog.ui +++ b/companion/src/apppreferencesdialog.ui @@ -1002,7 +1002,7 @@ Mode 4: - <html><head/><body><p>Keep a log of all debugging messages generated by the desktop Companion/Simulator applications. An OpenTX developer may request this to help diagnose an issue.</p></body></html> + <html><head/><body><p>Keep a log of all debugging messages generated by the desktop Companion/Simulator applications. An EdgeTX developer may request this to help diagnose an issue.</p></body></html> Application (Companion/Simulator) @@ -1147,7 +1147,7 @@ Mode 4: - Automatic check for OpenTX firmware updates + Automatic check for firmware updates true diff --git a/companion/src/simulation/simulatorstartupdialog.ui b/companion/src/simulation/simulatorstartupdialog.ui index ba97d2c75..0ec41e6b1 100644 --- a/companion/src/simulation/simulatorstartupdialog.ui +++ b/companion/src/simulation/simulatorstartupdialog.ui @@ -17,7 +17,7 @@ - OpenTX Simulator - Startup Options + EdgeTX Simulator - Startup Options true