mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Implemented run action API in relevant feature plugins
This commit is contained in:
@@ -217,11 +217,17 @@ int Map::webapiActionsPost(
|
||||
{
|
||||
QString id = *swgMapActions->getFind();
|
||||
|
||||
if (getMessageQueueToGUI())
|
||||
if (getMessageQueueToGUI()) {
|
||||
getMessageQueueToGUI()->push(MsgFind::create(id));
|
||||
}
|
||||
}
|
||||
|
||||
return 202;
|
||||
return 202;
|
||||
}
|
||||
else
|
||||
{
|
||||
errorMessage = "Unknown action";
|
||||
return 400;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user