From d292308b049a6531bd1b971bd96e9795be674cb6 Mon Sep 17 00:00:00 2001 From: Wahaj18 <48466561+Wahaj18@users.noreply.github.com> Date: Sun, 11 Oct 2026 15:46:12 +0500 Subject: [PATCH] MeshCore demod: connect preset combo and Apply button The GUI is set up on the rollup contents widget, so Qt does not auto-connect the on_meshPreset_currentIndexChanged and on_meshApply_clicked slots. They were never called: choosing a preset or clicking Apply had no effect, USER did not enable the manual LoRa controls and the preset went back to the saved EU_NARROW on the next settings refresh. Connect them explicitly as the MeshCore modulator and Meshtastic demodulator already do. Fixes #2874 --- plugins/channelrx/demodmeshcore/meshcoredemodgui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/channelrx/demodmeshcore/meshcoredemodgui.cpp b/plugins/channelrx/demodmeshcore/meshcoredemodgui.cpp index 9a1a6b4e6..ff931c50d 100644 --- a/plugins/channelrx/demodmeshcore/meshcoredemodgui.cpp +++ b/plugins/channelrx/demodmeshcore/meshcoredemodgui.cpp @@ -1593,6 +1593,8 @@ void MeshcoreDemodGUI::setupMeshcoreAutoProfileControls() // MeshCore unchanged. ui->meshAutoSampleRate->setChecked(m_settings.m_meshcoreAutoSampleRate); + QObject::connect(ui->meshPreset, QOverload::of(&QComboBox::currentIndexChanged), this, &MeshcoreDemodGUI::on_meshPreset_currentIndexChanged); + QObject::connect(ui->meshApply, &QPushButton::clicked, this, &MeshcoreDemodGUI::on_meshApply_clicked); QObject::connect(ui->meshKeys, &QPushButton::clicked, this, &MeshcoreDemodGUI::on_meshKeys_clicked); QObject::connect(ui->meshAutoLock, &QPushButton::clicked, this, &MeshcoreDemodGUI::on_meshAutoLock_clicked); QObject::connect(ui->meshAutoSampleRate, &QCheckBox::toggled, this, &MeshcoreDemodGUI::on_meshAutoSampleRate_toggled);