We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14be8f commit c867383Copy full SHA for c867383
src/script/InterpreterConstructActions.java
@@ -66,21 +66,7 @@ private void performAddDataLineSegment() {
66
DataLineSegment seg = new DataLineSegment(fromPoint, toPoint);
67
addLineSegment(seg);
68
// push action to the manager
69
- SharedUndoRedoActionManager.getSharedInstance().pushUndoableAction(
70
- new UndoRedoableInterface() {
71
-
72
- @Override
73
- public void undoAction() {
74
- seg.remove(panel);
75
- panel.repaint();
76
- }
77
78
79
- public void redoAction() {
80
- panel.addPaintComponent(seg);
81
82
83
- });
+
84
}
85
86
private void performAddLineSegment() {
0 commit comments