From f750bba6679ba2a556d30584b233ffac2963d4c5 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Wed, 26 Sep 2012 19:54:06 +0200 Subject: [PATCH] Fix block text cursor visibility on extra selections Change-Id: Ica1307863ebaf713cf07a4fdce2623b1d20344c3 Reviewed-by: hjk --- src/plugins/texteditor/basetexteditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 0c776a9a87b..76a217f67b6 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -3367,6 +3367,7 @@ void BaseTextEditorWidget::paintEvent(QPaintEvent *e) o.start = relativePos; o.length = 1; o.format.setForeground(palette().base()); + o.format.setBackground(palette().text()); selections.append(o); } }