mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Revert r27051 because:
(1) I do not owe pavel a beer (2) I removed the assert in isLoaded instead (3) this fix is wrong anyway since there are other calls to this method. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27053 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
536f1d4878
commit
78cd051f4a
@ -1652,8 +1652,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
}
|
||||
|
||||
// if we executed a mutating lfun, mark the buffer as dirty
|
||||
if (buffer
|
||||
&& theBufferList().isLoaded(buffer) && flag.enabled()
|
||||
if (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