From 5d66da88876e1e6b12697fce3da0f71462de94bc Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 18 Jun 2008 22:51:12 +0000 Subject: [PATCH] markDirty is automatic. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25311 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 2 +- src/LyXFunc.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 148b23d042..5925351b82 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -541,7 +541,7 @@ void LyXAction::init() * \li Origin: ps, 18 Jun 2008 * \endvar */ - { LFUN_NOTES_MUTATE, "notes-mutate", ReadOnly, Edit }, + { LFUN_NOTES_MUTATE, "notes-mutate", Argument, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT * \li Action: Inserts a line break or new line. diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index db13dfbd2d..9298c493f8 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1412,7 +1412,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd) break; //view()->cursor().recordUndoFullDocument(); let inset-apply do that job graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument); - lyx_view_->buffer()->markDirty(); updateFlags = Update::Force | Update::FitCursor; break; } @@ -1428,7 +1427,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd) view()->cursor().recordUndoFullDocument(); if (mutateNotes(view(), cmd.getArg(0), cmd.getArg(1))) { - lyx_view_->buffer()->markDirty(); updateFlags = Update::Force | Update::FitCursor; } break; -- 2.39.2