mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-17 21:28:43 -04:00
REST API device and channel actions: FileSource: added seek millis
This commit is contained in:
@@ -163,6 +163,16 @@ bool FileSourceGUI::handleMessage(const Message& message)
|
||||
|
||||
return true;
|
||||
}
|
||||
else if (FileSource::MsgConfigureFileSourceSeek::match(message)) // API action "seekms" feedback
|
||||
{
|
||||
const FileSource::MsgConfigureFileSourceSeek& notif = (FileSource::MsgConfigureFileSourceSeek&) message;
|
||||
int seekMillis = notif.getMillis();
|
||||
ui->navTime->blockSignals(true);
|
||||
ui->navTime->setValue(seekMillis);
|
||||
ui->navTime->blockSignals(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user