cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1324874 - in /cayenne/main/trunk: docs/doc/src/main/resources/RELEASE-NOTES.txt modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
Date Wed, 11 Apr 2012 17:16:26 GMT
Author: aadamchik
Date: Wed Apr 11 17:16:26 2012
New Revision: 1324874

URL: http://svn.apache.org/viewvc?rev=1324874&view=rev
Log:
CAY-1696 Undo/Redo stop working after deleting several project items at once

patch by Andrei Veprev

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=1324874&r1=1324873&r2=1324874&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Wed Apr 11 17:16:26 2012
@@ -65,6 +65,7 @@ CAY-1628 ClassCastException when using j
 CAY-1631 Oracle - passing blobs as stored procedure parameters
 CAY-1632 CayenneModeler: flattened relationship paths are not fully displayed
 CAY-1648 [PATCH] ValidationException throws format exception if error message contains percent
sign
+CAY-1696 Undo/Redo stop working after deleting several project items at once
 
 ----------------------------------
 Release: 3.1 M3

Modified: cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java?rev=1324874&r1=1324873&r2=1324874&view=diff
==============================================================================
--- cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
(original)
+++ cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
Wed Apr 11 17:16:26 2012
@@ -211,6 +211,7 @@ public class RemoveAction extends Cayenn
                 for (Object path : paths) {
                     compoundEdit.addEdit(removeLastPathComponent(path));
                 }
+                compoundEdit.end();
 
                 application.getUndoManager().addEdit(compoundEdit);
 



Mime
View raw message