Révision 3094
tmp/org.txm.annotation.rcp/src/org/txm/annotation/rcp/editor/AnnotationExtension.java (revision 3094) | ||
---|---|---|
284 | 284 |
// System.out.println("Saving annotations..."); |
285 | 285 |
if (annotationAreas != null && annotationAreas.size() > 0) { |
286 | 286 |
for (AnnotationArea aa : annotationAreas) { |
287 |
needToUpdateIndexes = needToUpdateIndexes || (aa.save() && aa.needToUpdateIndexes());
|
|
287 |
needToUpdateIndexes = needToUpdateIndexes || (aa.needToUpdateIndexes() && aa.isDirty() && aa.save());
|
|
288 | 288 |
} |
289 | 289 |
} |
290 | 290 |
|
Formats disponibles : Unified diff