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
This commit is contained in:
Tommaso Cucinotta 2009-12-31 12:22:11 +00:00
parent f37a1b8aea
commit bf584252ad

View File

@ -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