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