* Bug #13030 fixed - Selection to Super block did not reset the origin
[scilab.git] / scilab / modules / graph / src / java / org / scilab / modules / graph / actions / UndoAction.java
index 93b7b15..904cee5 100644 (file)
@@ -143,6 +143,10 @@ public class UndoAction extends DefaultAction {
         graph.removeUndoHandler();
         graph.getUndoManager().undo();
         graph.registerUndoHandler();
+
+        // revalidate the graph
+        graph.getAsComponent().clearCellOverlays();
+        graph.getAsComponent().validateGraph();
     }
 
 }