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
1 changed files with 3 additions and 0 deletions

View File

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