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

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());
}); });