mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
8018bef22b
commit
5d66da8887
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user