Skip to content

Commit a7d4d21

Browse files
richardetcRichardTea
authored andcommitted
Reset the base timestamp at Clear, not Stop
Was clearing the trigger offset when the capture stopped
1 parent 6fec442 commit a7d4d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/glscopewidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ void ScopeModel::clearValues()
632632
}
633633

634634
// Reset time extents
635+
m_startOffset = 0;
635636
m_endTime = 0;
636637
m_wallclockTrigger_ms = 0;
637638
}
@@ -1041,7 +1042,6 @@ void ScopeModel::stop()
10411042
}
10421043
// And clear/shutdown
10431044
m_listeners.clear();
1044-
m_startOffset = 0;
10451045
emit runningChanged(false);
10461046
}
10471047

0 commit comments

Comments
 (0)