Revision 39210 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureSelection.java
DefaultFeatureSelection.java | ||
---|---|---|
156 | 156 |
boolean inComplex = false; |
157 | 157 |
if (undoable && getFeatureStore().isEditing() |
158 | 158 |
&& !getCommands().inComplex()) { |
159 |
|
|
160 |
getCommands().startComplex("_selectionSelectFeatureSet"); |
|
159 | 161 |
inComplex = getCommands().inComplex(); |
160 |
getCommands().startComplex("_selectionSelectFeatureSet"); |
|
161 | 162 |
} |
162 | 163 |
|
163 | 164 |
disableNotifications(); |
... | ... | |
170 | 171 |
dispose(iter); |
171 | 172 |
} |
172 | 173 |
enableNotifications(); |
173 |
if (undoable && getFeatureStore().isEditing() && !inComplex) {
|
|
174 |
if (undoable && getFeatureStore().isEditing() && inComplex) { |
|
174 | 175 |
getCommands().endComplex(); |
175 | 176 |
} |
176 | 177 |
if (change) { |
Also available in: Unified diff