]> git.lyx.org Git - features.git/commitdiff
markDirty is automatic.
authorPavel Sanda <sanda@lyx.org>
Wed, 18 Jun 2008 22:51:12 +0000 (22:51 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 18 Jun 2008 22:51:12 +0000 (22:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25311 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXAction.cpp
src/LyXFunc.cpp

index 148b23d0424a91507a463c047b68fd232c79cd99..5925351b826f78b0de273901d77f10c8e8e31db8 100644 (file)
@@ -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.
index db13dfbd2d478bf62ae6145f4b223790cb1426a5..9298c493f869a0fcbc1dfe48c52d670a7ef180f6 100644 (file)
@@ -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;