From fda173a818dc1bbe5ba05c876fbe44cebed82d75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Mon, 29 Jan 2007 20:06:08 +0000 Subject: [PATCH] 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 --- src/lyxfunc.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 123e896bf4..588990d46b 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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()) { -- 2.39.2