]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
Clean-up the code with respect to PassThru insets and layouts.
[lyx.git] / src / LyXAction.cpp
index 7ec036dec45eed5a3c39541e3cf27a133d8e1b3a..babc10f0cdbaf464af6580062f8f9c7905bf490d 100644 (file)
@@ -1222,14 +1222,14 @@ void LyXAction::init()
  * \li Syntax: undo
  * \endvar
  */
-               { LFUN_UNDO, "undo", Noop, Edit },
+               { LFUN_UNDO, "undo", ReadOnly, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_REDO
  * \li Action: Redoes the last thing undone.
  * \li Syntax: redo
  * \endvar
  */
-               { LFUN_REDO, "redo", Noop, Edit },
+               { LFUN_REDO, "redo", ReadOnly, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_REPEAT
  * \li Action: Repeat the given command.