1
0
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:
hexinyue02
2024-02-04 18:53:32 +08:00
parent 943105d940
commit 09ba1cc700
3 changed files with 27 additions and 0 deletions
@@ -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;