Revision 9377 trunk/extensions/extCAD/src/com/iver/cit/gvsig/EditionUtilities.java
EditionUtilities.java | ||
---|---|---|
61 | 61 |
|
62 | 62 |
} |
63 | 63 |
|
64 |
if (numActiveVectorialEditable == 1) |
|
64 |
if (numActiveVectorialEditable == 1 && numActiveVectorial == 1)
|
|
65 | 65 |
return EDITION_STATUS_ONE_VECTORIAL_LAYER_ACTIVE_AND_EDITABLE; |
66 |
if (numActiveVectorialEditable > 1) |
|
66 |
if (numActiveVectorialEditable > 1 && numActiveVectorial == numActiveVectorialEditable)
|
|
67 | 67 |
return EDITION_STATUS_MULTIPLE_VECTORIAL_LAYER_ACTIVE_AND_EDITABLE; |
68 | 68 |
if (numActiveVectorial == 1) |
69 | 69 |
return EDITION_STATUS_ONE_VECTORIAL_LAYER_ACTIVE; |
Also available in: Unified diff