Skip to content

Commit f2525d6

Browse files
committed
liteeditor: fix viewport update
1 parent 8494f31 commit f2525d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liteidex/src/plugins/liteeditor/liteeditorwidgetbase.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ void LiteEditorWidgetBase::highlightCurrentLine()
703703
}
704704
}
705705
setExtraSelections(LiteApi::ParenthesesMatchingSelection,extraSelections);
706-
this->update();
706+
viewport()->update();
707707
}
708708

709709
static int foldBoxWidth(const QFontMetrics &fm)

0 commit comments

Comments
 (0)