mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-25 16:04:45 +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()) {
|
if (ui->previewTextEdit->isReadOnly()) {
|
||||||
QTextEdit::ExtraSelection selection;
|
QTextEdit::ExtraSelection selection;
|
||||||
|
|
||||||
QColor lineColor = QColor(190, 144, 212);
|
selection.format.setBackground(ConfigColor("highlight"));
|
||||||
|
|
||||||
selection.format.setBackground(lineColor);
|
|
||||||
selection.format.setProperty(QTextFormat::FullWidthSelection, true);
|
selection.format.setProperty(QTextFormat::FullWidthSelection, true);
|
||||||
selection.cursor = ui->previewTextEdit->textCursor();
|
selection.cursor = ui->previewTextEdit->textCursor();
|
||||||
selection.cursor.clearSelection();
|
selection.cursor.clearSelection();
|
||||||
|
Loading…
Reference in New Issue
Block a user