tmf: Fix wrong time for synchingToTime in AbstractTimeGraphView
authorPatrick Tasse <patrick.tasse@gmail.com>
Mon, 16 Nov 2015 20:20:02 +0000 (15:20 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 20 Nov 2015 19:23:35 +0000 (14:23 -0500)
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 <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/60664
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java

index 6e8b0df764b3781acc07e8b36441e38c36b69a17..bbaa50669f81582fbaa5ecc425677f6c4f822bfb 100644 (file)
@@ -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());
             }
         });
     }
This page took 0.026415 seconds and 5 git commands to generate.