Skip to content
Snippets Groups Projects
Commit 2547dad9 authored by Stephane Dallongeville's avatar Stephane Dallongeville
Browse files

modified Workflow constructor to add topLevel information

parent e1808cc9
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ public class Protocols extends PluginActionable
throw new IllegalArgumentException(protocolFile + " is not a valid protocol file");
System.out.println("Loading workflow...");
WorkFlow workFlow = new WorkFlow();
WorkFlow workFlow = new WorkFlow(true);
BlocksML.getInstance().loadWorkFlow(xml, workFlow);
workFlow.run();
......
......@@ -80,7 +80,7 @@ public class ProtocolPanel extends JPanel implements WorkFlowListener, PropertyC
public ProtocolPanel(MainFrame frame)
{
this(null, new WorkFlow(), frame);
this(null, new WorkFlow(true), frame);
}
private ProtocolPanel(File file, final WorkFlow workFlow, MainFrame frame)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment