From 64de182d77529ade2c9c6d1c813d62618f7222dd Mon Sep 17 00:00:00 2001 From: Patrick Tasse Date: Mon, 16 Nov 2015 15:20:02 -0500 Subject: [PATCH] tmf: Fix wrong time for synchingToTime in AbstractTimeGraphView It was incorrectly changed to the window start time instead of the selection begin time in patch https://git.eclipse.org/r/55670. Change-Id: I083a2e0d7cdc9843e0c2a0e65119a566b5a0ab1b Signed-off-by: Patrick Tasse Reviewed-on: https://git.eclipse.org/r/60664 Reviewed-by: Matthew Khouzam Reviewed-by: Jean-Christian Kouame Reviewed-by: Hudson CI --- .../tmf/ui/views/timegraph/AbstractTimeGraphView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java index 6e8b0df764..bbaa50669f 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java @@ -1290,7 +1290,7 @@ public abstract class AbstractTimeGraphView extends TmfView implements ITmfTimeA } else { fTimeGraphWrapper.getTimeGraphViewer().setSelectionRange(beginTime, endTime, true); } - synchingToTime(fTimeGraphWrapper.getTimeGraphViewer().getTime0()); + synchingToTime(fTimeGraphWrapper.getTimeGraphViewer().getSelectionBegin()); } }); } -- 2.34.1