- if (e.type == Row::INSET) {
- // If outer row has changed, nested insets are repainted completely.
- // FIXME: check what this really does. The test is weird.
- bool const nested_inset =
- (e.inset->asInsetMath() && !e.inset->asInsetMath()->asMacroTemplate())
- || e.inset->asInsetText() || e.inset->asInsetTabular();
- if (nested_inset)