+2003-07-30 Alfredo Braunstein <abraunst@libero.it>
+
+ * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
+ is disabled (bug 1232)
+
2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
* factory.C: limited 'arg' scope
* lyx_main.C (LyX):
* BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
-
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
view()->fitCursor();
// If we executed a mutating lfun, mark the buffer as dirty
- if (!lyxaction.funcHasFlag(ev.action, LyXAction::NoBuffer)
+ if (!getStatus(ev).disabled()
+ && !lyxaction.funcHasFlag(ev.action, LyXAction::NoBuffer)
&& !lyxaction.funcHasFlag(ev.action, LyXAction::ReadOnly))
view()->buffer()->markDirty();
}