Fixes wrong revert order in MassChange

This commit is contained in:
David Leoni 2014-11-27 18:12:54 +01:00
parent c15f8d1ffd
commit d29bf230b5

View File

@ -70,8 +70,8 @@ public class MassChange implements Change {
@Override @Override
public void revert(Project project) { public void revert(Project project) {
synchronized (project) { synchronized (project) {
for (Change change : _changes) { for (int i = _changes.size() - 1; i >= 0; i--){
change.revert(project); _changes.get(i).revert(project);
} }
if (_updateRowContextDependencies) { if (_updateRowContextDependencies) {