KateLineLayout: Fix an if check
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.
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.