TxImportDialog: fix segfault

This commit is contained in:
tobtoht 2021-05-24 00:11:13 +02:00
parent fadb2d7a50
commit 0f64f78bb8
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -17,7 +17,7 @@ TxImportDialog::TxImportDialog(QWidget *parent, QSharedPointer<AppContext> ctx)
ui->resp->hide();
ui->label_loading->hide();
auto node = ctx->nodes->connection();
auto node = m_ctx->nodes->connection();
m_rpc = new DaemonRpc(this, getNetworkTor(), node.toAddress());
connect(ui->btn_load, &QPushButton::clicked, this, &TxImportDialog::loadTx);