]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
Various fixes in insettext/tabular to make update work selective.
[features.git] / src / lyxfunc.C
index 030c0d3a87f341d03c0354c0c5a10483c7638c4a..24aaf44d0c349578b272baa0b04dd430548bf6a0 100644 (file)
@@ -542,7 +542,7 @@ string LyXFunc::Dispatch(int ac,
                                int slx, sly;
                                UpdatableInset * inset = 
                                        owner->view()->the_locking_inset;
-                               inset->GetCursorPos(slx, sly);
+                               inset->GetCursorPos(owner->view(), slx, sly);
                                owner->view()->unlockInset(inset);
                                owner->view()->menuUndo();
                                if (owner->view()->text->cursor.par()->
@@ -561,7 +561,7 @@ string LyXFunc::Dispatch(int ac,
                                int slx, sly;
                                UpdatableInset * inset = owner->view()->
                                        the_locking_inset;
-                               inset->GetCursorPos(slx, sly);
+                               inset->GetCursorPos(owner->view(), slx, sly);
                                owner->view()->unlockInset(inset);
                                owner->view()->menuRedo();
                                inset = static_cast<UpdatableInset*>(