]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
Forgot to add this files.
[lyx.git] / src / lyxfunc.C
index 519414281f5698a0d0b4c96c70a246b91c5c3a9e..56bc0d84ba9b354a6ca5989a15baefe616cee062 100644 (file)
@@ -930,6 +930,7 @@ string LyXFunc::Dispatch(int ac,
                break;
                
        case LFUN_TABULAR_FEATURE:
+       case LFUN_SCROLL_INSET:
                // this is not handled here as this funktion is only aktive
                // if we have a locking_inset and that one is (or contains)
                // a tabular-inset
@@ -945,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;
        }