mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
GLScopeGUI: synchronize add trace and add trigger in setBuddies method
This commit is contained in:
parent
de838e8c30
commit
6221693710
@ -95,12 +95,14 @@ void GLScopeGUI::setBuddies(MessageQueue* messageQueue, ScopeVis* scopeVis, GLSc
|
||||
fillTriggerData(triggerData);
|
||||
ScopeVis::MsgScopeVisAddTrigger *msgAddTrigger = ScopeVis::MsgScopeVisAddTrigger::create(triggerData);
|
||||
m_scopeVis->getInputMessageQueue()->push(msgAddTrigger);
|
||||
settingsTriggerAdd(triggerData);
|
||||
|
||||
// Add a trace
|
||||
GLScopeSettings::TraceData traceData;
|
||||
fillTraceData(traceData);
|
||||
ScopeVis::MsgScopeVisAddTrace *msgAddTrace = ScopeVis::MsgScopeVisAddTrace::create(traceData);
|
||||
m_scopeVis->getInputMessageQueue()->push(msgAddTrace);
|
||||
settingsTraceAdd(traceData);
|
||||
|
||||
setEnabled(true);
|
||||
connect(m_glScope, SIGNAL(sampleRateChanged(int)), this, SLOT(on_scope_sampleRateChanged(int)));
|
||||
|
Loading…
Reference in New Issue
Block a user