From bf584252adf292391885d8ffc2cf3bcf597c5d33 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Thu, 31 Dec 2009 12:22:11 +0000 Subject: [PATCH] Now, current buffer is marked as dirty (instead of document buffer) when typing or doing other editing actions. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32686 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 2c4c93e042..6a619200e2 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -583,7 +583,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd) && flag.enabled() && !lyxaction.funcHasFlag(action, LyXAction::NoBuffer) && !lyxaction.funcHasFlag(action, LyXAction::ReadOnly)) - doc_buffer->markDirty(); + lv->currentBufferView()->buffer().markDirty(); if (lv && lv->currentBufferView()) { // BufferView::update() updates the ViewMetricsInfo and -- 2.39.2