Révision 2572
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/DeleteObject.java (revision 2572) | ||
---|---|---|
124 | 124 |
while (parent != null |
125 | 125 |
&& !parent.isInternalPersistable() // don't delete internally persisted results |
126 | 126 |
&& !parent.isVisible() // delete if the parent is hidden |
127 |
// && parent.getChildren().size() == 1 // AND if there is no sibling
|
|
127 |
&& parent.getChildren().size() == 1 // AND if there is no sibling
|
|
128 | 128 |
) { |
129 | 129 |
hidden.add(parent); |
130 | 130 |
parent = parent.getParent(); |
Formats disponibles : Unified diff