mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
Web API: use message passing to start/stop device for all the rest of device plugins
This commit is contained in:
@@ -132,6 +132,14 @@ bool BladerfOutputGui::handleMessage(const Message& message)
|
||||
displaySettings();
|
||||
return true;
|
||||
}
|
||||
else if (BladerfOutput::MsgStartStop::match(message))
|
||||
{
|
||||
BladerfOutput::MsgStartStop& notif = (BladerfOutput::MsgStartStop&) message;
|
||||
blockApplySettings(true);
|
||||
ui->startStop->setChecked(notif.getStartStop());
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user