]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.C
(Herbert): strip the extension from the graphics filename when exporting
[lyx.git] / src / insets / insettabular.C
index 08e46dfc03589ce42d91db9a35dda732d10ec8ae..b3a9435665f7321f217d0f6a4bfc2e911ac8f4ce 100644 (file)
@@ -530,8 +530,10 @@ void InsetTabular::update(BufferView * bv, LyXFont const & font, bool reinit)
        case INIT:
        case FULL:
        case CELL:
-               if (calculate_dimensions_of_cells(bv, font, false))
+               if (calculate_dimensions_of_cells(bv, font, false)) {
                        need_update = INIT;
+                       resetPos(bv);
+               }
                break;
        case SELECTION:
                need_update = FULL;