1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04:00

Simple PTT: corrected PTT button highlight when coming from REST API action

This commit is contained in:
f4exb 2020-09-29 01:24:29 +02:00
parent 79b087e93c
commit 9c2e9ccb75

View File

@ -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;
}