mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-08 00:44:48 -04:00
Fix: GUI handle Startstop message
This commit is contained in:
@@ -258,6 +258,15 @@ bool LimeSDRMIMOGUI::handleMessage(const Message& message)
|
||||
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')).toUpper());
|
||||
return true;
|
||||
}
|
||||
else if (LimeSDRMIMO::MsgStartStop::match(message))
|
||||
{
|
||||
LimeSDRMIMO::MsgStartStop& notif = (LimeSDRMIMO::MsgStartStop&) message;
|
||||
blockApplySettings(true);
|
||||
(notif.getRxElseTx() ? ui->startStopRx : ui->startStopTx)->setChecked(notif.getStartStop());
|
||||
blockApplySettings(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user