1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -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
@@ -366,6 +366,15 @@ bool BladeRF2MIMOGui::handleMessage(const Message& message)
return true;
}
else if (BladeRF2MIMO::MsgStartStop::match(message))
{
BladeRF2MIMO::MsgStartStop& notif = (BladeRF2MIMO::MsgStartStop&) message;
blockApplySettings(true);
(notif.getRxElseTx() ? ui->startStopRx : ui->startStopTx)->setChecked(notif.getStartStop());
blockApplySettings(false);
return true;
}
return false;
}