mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16: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();
|
QTextDocument *asm_docu = ui->previewTextEdit->document();
|
||||||
asm_docu->setDocumentMargin(10);
|
asm_docu->setDocumentMargin(10);
|
||||||
|
|
||||||
setupPreviewFont();
|
|
||||||
setupPreviewColors();
|
setupPreviewColors();
|
||||||
|
setupPreviewFont();
|
||||||
|
|
||||||
// Highlight current line
|
// Highlight current line
|
||||||
connect(ui->previewTextEdit, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine()));
|
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)) {
|
if (!qhelpers::selectFirstItem(ui->toTreeWidget)) {
|
||||||
qhelpers::selectFirstItem(ui->fromTreeWidget);
|
qhelpers::selectFirstItem(ui->fromTreeWidget);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void XrefsDialog::on_fromTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
|
void XrefsDialog::on_fromTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
|
||||||
|
@ -131,12 +131,6 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPlainTextEdit" name="previewTextEdit">
|
<widget class="QPlainTextEdit" name="previewTextEdit">
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<family>Anonymous Pro</family>
|
|
||||||
<pointsize>13</pointsize>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::NoFrame</enum>
|
<enum>QFrame::NoFrame</enum>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user