]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.C
use more specific smart_ptr headers
[lyx.git] / src / insets / insettabular.C
index c36104fbdbbaabba138561e94a0fedeeb2b5804f..d7c59e82bf5ee72093e0234ab0f982a1443d606a 100644 (file)
@@ -1479,6 +1479,7 @@ void InsetTabular::fitInsetCursor(BufferView * bv) const
 
        int const asc = lyxfont::maxAscent(font);
        int const desc = lyxfont::maxDescent(font);
+       resetPos(bv);
        if (bv->fitLockedInsetCursor(cursor_.x(), cursor_.y(), asc, desc))
                need_update = FULL;
 }