qt: Make sure font size in TransactionDescDialog is adjusted properly (#3707)

This commit is contained in:
dustinface 2020-09-16 11:14:09 +02:00 committed by pasta
parent 8fa280140a
commit 42b606ea76
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -17,6 +17,7 @@ TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *pa
ui(new Ui::TransactionDescDialog) ui(new Ui::TransactionDescDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
GUIUtil::updateFonts();
setWindowTitle(tr("Details for %1").arg(idx.data(TransactionTableModel::TxIDRole).toString())); setWindowTitle(tr("Details for %1").arg(idx.data(TransactionTableModel::TxIDRole).toString()));
QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString(); QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
ui->detailText->setHtml(desc); ui->detailText->setHtml(desc);