Fixing FreeMind importing nodes order

This commit is contained in:
Pablo Luna
2011-01-10 12:33:30 -03:00
parent fa58c683c0
commit bfa403a14f
2 changed files with 82 additions and 2 deletions

View File

@@ -554,7 +554,7 @@ mindplot.MindmapDesigner.prototype._nodeModelToNodeGraph = function(nodeModel)
var children = nodeModel.getChildren().slice();
// Sort children by order to solve adding order ...
if (children.length > 0)
if (nodeGraph.getTopicType()!=mindplot.NodeModel.CENTRAL_TOPIC_TYPE && children.length > 0)
{
var oldChildren = children;
children = [];