mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 20:06:12 +00:00
Fix XrefsDialog Preview Font (#1548)
This commit is contained in:
parent
2734ff026a
commit
db4dcb5964
@ -24,8 +24,8 @@ XrefsDialog::XrefsDialog(QWidget *parent) :
|
||||
QTextDocument *asm_docu = ui->previewTextEdit->document();
|
||||
asm_docu->setDocumentMargin(10);
|
||||
|
||||
setupPreviewFont();
|
||||
setupPreviewColors();
|
||||
setupPreviewFont();
|
||||
|
||||
// Highlight current line
|
||||
connect(ui->previewTextEdit, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine()));
|
||||
@ -69,7 +69,6 @@ void XrefsDialog::fillRefs(QList<XrefDescription> refs, QList<XrefDescription> x
|
||||
if (!qhelpers::selectFirstItem(ui->toTreeWidget)) {
|
||||
qhelpers::selectFirstItem(ui->fromTreeWidget);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void XrefsDialog::on_fromTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
|
||||
|
@ -131,12 +131,6 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="previewTextEdit">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Anonymous Pro</family>
|
||||
<pointsize>13</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user