diff --git a/libs/qsynedit/qsynedit/painter.cpp b/libs/qsynedit/qsynedit/painter.cpp index d47bb3c0..97421f8e 100644 --- a/libs/qsynedit/qsynedit/painter.cpp +++ b/libs/qsynedit/qsynedit/painter.cpp @@ -1068,7 +1068,7 @@ void QSynEditPainter::paintLines() // Values in it doesn't matter, we'll recalculate them. QList glyphStartPositionsList; bool lineWidthValid = mEdit->mDocument->lineWidthValid(vLine-1); - bool calculateGlyphPositions = ( mHasSelectionInLine || lineTextChanged || !lineWidthValid); + bool calculateGlyphPositions = ( lineTextChanged || !lineWidthValid); if (calculateGlyphPositions) { glyphStartPositionsList = glyphStartCharList; } else {