mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix suggested by Abdel. JMarc owes Pavel a beer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27051 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
32063acc8f
commit
ba396d2966
@ -1652,7 +1652,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
}
|
||||
|
||||
// if we executed a mutating lfun, mark the buffer as dirty
|
||||
if (theBufferList().isLoaded(buffer) && flag.enabled()
|
||||
if (buffer
|
||||
&& theBufferList().isLoaded(buffer) && flag.enabled()
|
||||
&& !lyxaction.funcHasFlag(action, LyXAction::NoBuffer)
|
||||
&& !lyxaction.funcHasFlag(action, LyXAction::ReadOnly))
|
||||
buffer->markDirty();
|
||||
|
Loading…
Reference in New Issue
Block a user