mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
Fixed highlight color in xref dialog
This commit is contained in:
parent
a7482577ce
commit
520bee81d5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user