Fix error when press enter over a isolated node
Fix prediction error when the node is a isolated node.
This commit is contained in:
@@ -473,7 +473,7 @@ mindplot.Designer = new Class({
|
||||
}
|
||||
|
||||
var topic = nodes[0];
|
||||
if (topic.getType() == mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE) {
|
||||
if (!topic.getOutgoingConnectedTopic()) { // Central topic and isolated topics ....
|
||||
// Central topic doesn't have siblings ...
|
||||
this.createChildForSelectedNode();
|
||||
|
||||
|
Reference in New Issue
Block a user