mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -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);
|
fillTriggerData(triggerData);
|
||||||
ScopeVis::MsgScopeVisAddTrigger *msgAddTrigger = ScopeVis::MsgScopeVisAddTrigger::create(triggerData);
|
ScopeVis::MsgScopeVisAddTrigger *msgAddTrigger = ScopeVis::MsgScopeVisAddTrigger::create(triggerData);
|
||||||
m_scopeVis->getInputMessageQueue()->push(msgAddTrigger);
|
m_scopeVis->getInputMessageQueue()->push(msgAddTrigger);
|
||||||
|
settingsTriggerAdd(triggerData);
|
||||||
|
|
||||||
// Add a trace
|
// Add a trace
|
||||||
GLScopeSettings::TraceData traceData;
|
GLScopeSettings::TraceData traceData;
|
||||||
fillTraceData(traceData);
|
fillTraceData(traceData);
|
||||||
ScopeVis::MsgScopeVisAddTrace *msgAddTrace = ScopeVis::MsgScopeVisAddTrace::create(traceData);
|
ScopeVis::MsgScopeVisAddTrace *msgAddTrace = ScopeVis::MsgScopeVisAddTrace::create(traceData);
|
||||||
m_scopeVis->getInputMessageQueue()->push(msgAddTrace);
|
m_scopeVis->getInputMessageQueue()->push(msgAddTrace);
|
||||||
|
settingsTraceAdd(traceData);
|
||||||
|
|
||||||
setEnabled(true);
|
setEnabled(true);
|
||||||
connect(m_glScope, SIGNAL(sampleRateChanged(int)), this, SLOT(on_scope_sampleRateChanged(int)));
|
connect(m_glScope, SIGNAL(sampleRateChanged(int)), this, SLOT(on_scope_sampleRateChanged(int)));
|
||||||
|
Loading…
Reference in New Issue
Block a user