From 16e2bb34bd5455f0263d1871ccb458b37681b9a7 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 14 Sep 2005 05:44:37 +0000 Subject: [PATCH] put back in a coherent state after a current time change git-svn-id: http://ltt.polymtl.ca/svn@1180 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index a19cde58..8bf819e6 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -3621,6 +3621,8 @@ void current_position_change_manager(Tab *tab, g_assert(lttv_process_traceset_seek_position(tsc, pos) == 0); LttTime new_time = lttv_traceset_context_position_get_time(pos); + /* Put the context in a state coherent position */ + lttv_state_traceset_seek_time_closest((LttvTracesetState*)tsc, ltt_time_zero); current_time_change_manager(tab, new_time); -- 2.34.1