markDirty is automatic.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25311 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-06-18 22:51:12 +00:00
parent 8018bef22b
commit 5d66da8887
2 changed files with 1 additions and 3 deletions

View File

@ -541,7 +541,7 @@ void LyXAction::init()
* \li Origin: ps, 18 Jun 2008 * \li Origin: ps, 18 Jun 2008
* \endvar * \endvar
*/ */
{ LFUN_NOTES_MUTATE, "notes-mutate", ReadOnly, Edit }, { LFUN_NOTES_MUTATE, "notes-mutate", Argument, Edit },
/*! /*!
* \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT * \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT
* \li Action: Inserts a line break or new line. * \li Action: Inserts a line break or new line.

View File

@ -1412,7 +1412,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
break; break;
//view()->cursor().recordUndoFullDocument(); let inset-apply do that job //view()->cursor().recordUndoFullDocument(); let inset-apply do that job
graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument); graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument);
lyx_view_->buffer()->markDirty();
updateFlags = Update::Force | Update::FitCursor; updateFlags = Update::Force | Update::FitCursor;
break; break;
} }
@ -1428,7 +1427,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
view()->cursor().recordUndoFullDocument(); view()->cursor().recordUndoFullDocument();
if (mutateNotes(view(), cmd.getArg(0), cmd.getArg(1))) { if (mutateNotes(view(), cmd.getArg(0), cmd.getArg(1))) {
lyx_view_->buffer()->markDirty();
updateFlags = Update::Force | Update::FitCursor; updateFlags = Update::Force | Update::FitCursor;
} }
break; break;