WalletCacheDebug: use monospace font

This commit is contained in:
tobtoht 2021-02-03 17:01:19 +01:00
parent e0f7473ed4
commit 3f489b3558
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -3,6 +3,7 @@
#include "WalletCacheDebugDialog.h" #include "WalletCacheDebugDialog.h"
#include "ui_WalletCacheDebugDialog.h" #include "ui_WalletCacheDebugDialog.h"
#include "model/ModelUtils.h"
#include <QRadioButton> #include <QRadioButton>
@ -13,6 +14,8 @@ WalletCacheDebugDialog::WalletCacheDebugDialog(AppContext *ctx, QWidget *parent)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->output->setFont(ModelUtils::getMonospaceFont());
connect(ui->m_blockchain, &QRadioButton::pressed, [this]{ connect(ui->m_blockchain, &QRadioButton::pressed, [this]{
this->setOutput(m_ctx->currentWallet->printBlockchain()); this->setOutput(m_ctx->currentWallet->printBlockchain());
}); });