* Bug #13030 fixed - Selection to Super block did not reset the origin
[scilab.git] / scilab / modules / graph / src / java / org / scilab / modules / graph / actions / RedoAction.java
index 198e79e..c5f7e15 100644 (file)
@@ -144,5 +144,9 @@ public class RedoAction extends DefaultAction {
         graph.removeUndoHandler();
         graph.getUndoManager().redo();
         graph.registerUndoHandler();
+
+        // revalidate the graph
+        graph.getAsComponent().clearCellOverlays();
+        graph.getAsComponent().validateGraph();
     }
 }