mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
Simple PTT: corrected PTT button highlight when coming from REST API action
This commit is contained in:
parent
79b087e93c
commit
9c2e9ccb75
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user