mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +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
|
* \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.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user