Fix history bug.

This commit is contained in:
Paulo Gustavo Veiga
2013-03-29 14:51:21 -03:00
parent 81d3d591fa
commit dce29eda19
5 changed files with 12 additions and 11 deletions

View File

@@ -263,7 +263,7 @@ public class MindmapServiceImpl
public void revertChange(@NotNull Mindmap mindmap, int historyId)
throws WiseMappingException, IOException {
final MindMapHistory history = mindmapManager.getHistory(historyId);
mindmap.setZippedXml(history.getXml());
mindmap.setZippedXml(history.getZippedXml());
updateMindmap(mindmap, true);
}