Permalink
Browse files

fixed bug in the sbml document tree

  • Loading branch information...
applecool committed Aug 10, 2013
1 parent 956902f commit 314cbd72f8734c69d3ebde6395d87878ab54f120
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/org/pathvisio/sbml/SBMLFormat.java
@@ -40,7 +40,11 @@ public Pathway doImport(File file)
{
SbmlImportHelper helper = new SbmlImportHelper();
Pathway result = helper.doImport(file);
if (parent != null) parent.setLastImported(helper.getDocument());
if (parent != null)
{
parent.setLastImported(helper.getDocument());
doc=helper.getDocument();
}
return result;
}

0 comments on commit 314cbd7

Please sign in to comment.