]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.cpp
add busy.gif to resources (in line with cmake)
[lyx.git] / src / mathed / InsetMathSpace.cpp
index 1b045ed0ec943b8d85ad7475796ae50f3842dd8a..cede32a7865a5860e24ba97dab56072e68fd50a6 100644 (file)
@@ -268,7 +268,7 @@ InsetSpaceParams InsetMathSpace::params() const
 }
 
 
-docstring InsetMathSpace::contextMenu(BufferView const &, int, int) const
+docstring InsetMathSpace::contextMenuName() const
 {
        return from_ascii("context-mathspace");
 }
@@ -300,6 +300,7 @@ void InsetMathSpace::doDispatch(Cursor & cur, FuncRequest & cmd)
                if (cmd.getArg(0) == "mathspace") {
                        MathData ar;
                        if (createInsetMath_fromDialogStr(cmd.argument(), ar)) {
+                               cur.recordUndo();
                                *this = *ar[0].nucleus()->asSpaceInset();
                                break;
                        }