Fixes the regression introduces in r36630. I already fixed this, but forgot to commit apparently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36848
a592a061-630c-0410-9148-
cb99ea01b6c8
for (pos_type pos = row_.pos(); pos != end; ++pos) {
// If outer row has changed, nested insets are repaint completely.
Inset const * inset = par_.getInset(pos);
- if (!inset || !inset->asInsetText())
+ bool const nested_inset = inset &&
+ (inset->asInsetText() || inset->asInsetTabular());
+ if (!nested_inset)
continue;
if (x_ > pi_.base.bv->workWidth()
|| !cache.getInsets().has(inset))