Skip to content

Commit

Permalink
Reset the base timestamp at Clear, not Stop
Browse files Browse the repository at this point in the history
Was clearing the trigger offset when the capture stopped
  • Loading branch information
richardetc authored and RichardTea committed Apr 10, 2024
1 parent 6fec442 commit a7d4d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/glscopewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ void ScopeModel::clearValues()
}

// Reset time extents
m_startOffset = 0;
m_endTime = 0;
m_wallclockTrigger_ms = 0;
}
Expand Down Expand Up @@ -1041,7 +1042,6 @@ void ScopeModel::stop()
}
// And clear/shutdown
m_listeners.clear();
m_startOffset = 0;
emit runningChanged(false);
}

Expand Down

0 comments on commit a7d4d21

Please sign in to comment.