|
@@ -253,10 +253,22 @@ public class Control {
|
|
|
|
|
|
public void pasteObjects(Point point) {
|
|
|
canvasController.pasteObjects(point);
|
|
|
+ try {
|
|
|
+ autoSave();
|
|
|
+ } catch (IOException e) {
|
|
|
+ // TODO Auto-generated catch block
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void cutObjects() {
|
|
|
canvasController.cutObjects();
|
|
|
+ try {
|
|
|
+ autoSave();
|
|
|
+ } catch (IOException e) {
|
|
|
+ // TODO Auto-generated catch block
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|