]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.C
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insettabular.C
index 85cbca17e06e38f747b700c94ec9674736c0706f..d21030ee98d11ebc7413c5f57dcac73490420171 100644 (file)
@@ -620,9 +620,11 @@ void InsetTabular::updateLocal(BufferView * bv, UpdateCodes what,
        }
        if (need_update < what) // only set this if it has greater update
                need_update = what;
+#if 0 // maybe this should not be done!
        if ((what == INIT) && hasSelection()) {
                clearSelection();
        }
+#endif
        // Dirty Cast! (Lgb)
        if (need_update != NONE) {
                bv->updateInset(const_cast<InsetTabular *>(this), mark_dirty);