X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fcommands%2FDeleteItems.java;h=08d4798d82d415fe27a6d035ad110406658b11fa;hb=e797ab69fbb9d6a4abe901155108ab8155ceba5b;hp=d5bc35e324e645c9987f2c9595281232b094b915;hpb=3529ae56c3bafe8c21e7014d54788ea6fb86f73e;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/DeleteItems.java b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/DeleteItems.java index d5bc35e32..08d4798d8 100644 --- a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/DeleteItems.java +++ b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/DeleteItems.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Mathieu Baudier + * Copyright (C) 2007-2012 Argeo GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.client.ui.commands; import java.util.ArrayList; @@ -103,7 +102,8 @@ public class DeleteItems extends AbstractHandler { for (Node node : nodes) { Node parent = node.getParent(); node.remove(); - ResultParentUtils.updateStatusOnRemoval(parent); + ResultParentUtils.updatePassedStatus(parent, + true); monitor.worked(1); } session.save();