Updated fix for bug 366089: Interface to provide trace name.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / project / handlers / OpenTraceHandler.java
index 34767ba56035497586ae1583e6e80c88d1257928..2869427b90f1c216972b39fb4642788ef3b7187c 100644 (file)
@@ -141,7 +141,7 @@ public class OpenTraceHandler extends AbstractHandler {
         boolean usesEditor = editorId != null && editorId.length() > 0;
 
         try {
-            trace.initTrace(fTrace.getLocation().getPath(), traceEvent.getClass(), usesEditor);
+            trace.initTrace(fTrace.getName(), fTrace.getLocation().getPath(), traceEvent.getClass(), usesEditor);
         } catch (FileNotFoundException e) {
             displayErrorMsg(Messages.OpenTraceHandler_NoTrace);
             return null;
This page took 0.02471 seconds and 5 git commands to generate.