Skip to content

KateLineLayout: Fix an if check

Waqar Ahmed requested to merge work/fix-check into master

Checking KateLineLayout::isValid is wrong here. isValid returns false if we have m_line == -1 and in that layout makes no sense. Instead we want to layout if we don't have an underlying QTextLayout.

Merge request reports