]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
Forgot to add this files.
[lyx.git] / src / lyxfunc.C
index 955b64ffc0377621cfbcc3a11c2b9e88ae88a22e..56bc0d84ba9b354a6ca5989a15baefe616cee062 100644 (file)
@@ -946,8 +946,9 @@ string LyXFunc::Dispatch(int ac,
                if (!owner->view()->insertInset(new_inset)) {
                        delete new_inset;
                } else {
-                   // this is need because you don't use a inset->Edit()
-                   owner->view()->updateInset(new_inset, true);
+                       // this is need because you don't use a inset->Edit()
+                       owner->view()->updateInset(new_inset, true);
+                       new_inset->Edit(owner->view(), 0, 0, 0);
                }
                break;
        }