diff --git a/src/ChangeLog b/src/ChangeLog index effd40ab3f..2b5a834442 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Alfredo Braunstein + + * lyxfunc.C (dispatch): do not mark the buffer dirty if the action + is disabled (bug 1232) + 2003-07-30 Martin Vermeer * factory.C: limited 'arg' scope @@ -14,7 +19,6 @@ * lyx_main.C (LyX): * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws - 2003-07-29 Martin Vermeer diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 1669ff81bc..1ca0cdce07 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -1621,7 +1621,8 @@ exit_with_message: 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(); }