From 417c7f12472d89de971a21fe6b6afebd66d53462 Mon Sep 17 00:00:00 2001 From: elecpower Date: Sun, 2 Jan 2022 09:11:36 +1100 Subject: [PATCH] Prompt to check all models when harwdare setting changed --- companion/src/generaledit/hardware.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/companion/src/generaledit/hardware.cpp b/companion/src/generaledit/hardware.cpp index 95e4d1284..c084607b4 100644 --- a/companion/src/generaledit/hardware.cpp +++ b/companion/src/generaledit/hardware.cpp @@ -137,6 +137,10 @@ HardwarePanel::HardwarePanel(QWidget * parent, GeneralSettings & generalSettings internalModule->setModel(tabFilteredModels->getItemModel(FIM_INTERNALMODULES)); internalModule->setField(generalSettings.internalModule, this); addParams(row, internalModule); + connect(internalModule, &AutoComboBox::currentDataChanged, this, [=] () { + QMessageBox::warning(this, CPN_STR_APP_NAME, + tr("ALERT: Check each model's internal module protocol to ensure it is compatible!")); + }); } if (firmware->getCapability(HasTelemetryBaudrate)) {