Merge pull request 'WalletCacheDebug: use monospace font' (#320) from tobtoht/feather:cachedebugfix into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/320
This commit is contained in:
tobtoht 2021-02-03 16:02:20 +00:00
commit d2beb77288
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());
});