- Fix Uncaught Icon can no be found., line:3940
parent
3f173ec2f1
commit
1efa24f2aa
|
@ -40,7 +40,9 @@ mindplot.commands.RemoveFeatureFromTopicCommand = new Class({
|
|||
var topic = commandContext.findTopics(this._topicId)[0];
|
||||
|
||||
var feature = this._oldFeature;
|
||||
topic.addFeature(feature.getType(), feature.getAttributes());
|
||||
var newFeature = topic.addFeature(feature.getType(), feature.getAttributes());
|
||||
this._featureId = newFeature.getModel().getId();
|
||||
|
||||
this._oldFeature = null;
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue