On 4/16/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> I just notice that if I open or close a collapsable inset, the file is
> not marked dirty. Is this intentional?
This is bug 2993:
http://bugzilla.lyx.org/show_bug.cgi?id=2993
The patch is simple enough. If there is no objection, it will go in
tomorrow. (This time I will wait. :-)
Index: src/insets/insetcollapsable.C
===================================================================
--- src/insets/insetcollapsable.C (revision 17833)
+++ src/insets/insetcollapsable.C (working copy)
@@ -441,6 +441,9 @@
setButtonLabel();
if (status_ == Collapsed)
cur.leaveInset(*this);
+ // Because we save CollapseStatus in lyx file, change of status
+ // lead to a dirty buffer. (This is bug 2993)
+ cur.bv().buffer()->markDirty();
}
Cheers,
Bo