RCP: X.X, purge unsaved annotations on closing edition if the user chooses not to save them
Currently, if the user decides not to save annotations when closing an
edition, the annotations remain in ca$h and re-appear if the edition is
re-opened and the annotation mode is activated. The corpus remains set
to “dirty”.
The unsaved annotations persist even if the corpus is deleted and
re-charged.
When closing TXM, no warning is displayed but the annotations disappear.
The correct behaviour would be:
- if the user clics on “No” when asked about saving annotations, the unsaved annotations must be purged and the corpus status is set to “clean”.
(from redmine: issue id 2173, created on 2017/04/28 by Alexey Lavrentev)