Skip to content

Commit c867383

Browse files
committed
Fix bugs
1 parent b14be8f commit c867383

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/script/InterpreterConstructActions.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,7 @@ private void performAddDataLineSegment() {
6666
DataLineSegment seg = new DataLineSegment(fromPoint, toPoint);
6767
addLineSegment(seg);
6868
// 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-
@Override
79-
public void redoAction() {
80-
panel.addPaintComponent(seg);
81-
panel.repaint();
82-
}
83-
});
69+
8470
}
8571

8672
private void performAddLineSegment() {

0 commit comments

Comments
 (0)