]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.C
Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
[features.git] / src / insets / insettext.C
index 967d41d6bdb660d2e2d35f37a671c3e6e235c6fa..38bfe81a2ee3cfa3def327c665a0ec37fcb39a63 100644 (file)
@@ -291,7 +291,7 @@ void InsetText::draw(BufferView * bv, LyXFont const & f,
 
     // if top_x differs we have a rule down and we don't have to clear anything
     if (!cleared && (top_x == int(x)) &&
-       ((need_update==FULL) || (top_baseline!=baseline)))
+       ((need_update==INIT)||(need_update==FULL)||(top_baseline!=baseline)))
     {
        int w =  insetWidth;
        int h = insetAscent + insetDescent;