mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Berhard's tab patch: crash after saving new buffer and change to another new buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16937 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40bced2e30
commit
fda173a818
@ -1760,8 +1760,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
|
||||
// if we executed a mutating lfun, mark the buffer as dirty
|
||||
if (flag.enabled()
|
||||
&& !lyxaction.funcHasFlag(cmd.action, LyXAction::NoBuffer)
|
||||
&& !lyxaction.funcHasFlag(cmd.action, LyXAction::ReadOnly))
|
||||
&& !lyxaction.funcHasFlag(action, LyXAction::NoBuffer)
|
||||
&& !lyxaction.funcHasFlag(action, LyXAction::ReadOnly))
|
||||
view()->buffer()->markDirty();
|
||||
|
||||
if (view()->cursor().inTexted()) {
|
||||
|
Loading…
Reference in New Issue
Block a user