From 9c2e9ccb75bb1e4d5ee0533b7ca727c75a0eb7aa Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 29 Sep 2020 01:24:29 +0200 Subject: [PATCH] Simple PTT: corrected PTT button highlight when coming from REST API action --- plugins/feature/simpleptt/simplepttgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/feature/simpleptt/simplepttgui.cpp b/plugins/feature/simpleptt/simplepttgui.cpp index fe1846e58..23548fbb0 100644 --- a/plugins/feature/simpleptt/simplepttgui.cpp +++ b/plugins/feature/simpleptt/simplepttgui.cpp @@ -104,9 +104,9 @@ bool SimplePTTGUI::handleMessage(const Message& message) qDebug("SimplePTTGUI::handleMessage: SimplePTT::MsgPTT"); const SimplePTT::MsgPTT& cfg = (SimplePTT::MsgPTT&) message; bool ptt = cfg.getTx(); - ui->ptt->blockSignals(true); + blockApplySettings(true); ui->ptt->setChecked(ptt); - ui->ptt->blockSignals(false); + blockApplySettings(false); return true; }