Fixed highlight color in xref dialog

This commit is contained in:
xarkes 2018-07-02 11:11:06 +02:00
parent a7482577ce
commit 520bee81d5

View File

@ -119,9 +119,7 @@ void XrefsDialog::highlightCurrentLine()
if (ui->previewTextEdit->isReadOnly()) {
QTextEdit::ExtraSelection selection;
QColor lineColor = QColor(190, 144, 212);
selection.format.setBackground(lineColor);
selection.format.setBackground(ConfigColor("highlight"));
selection.format.setProperty(QTextFormat::FullWidthSelection, true);
selection.cursor = ui->previewTextEdit->textCursor();
selection.cursor.clearSelection();