History: grab tx key for tx proof dialog

This commit is contained in:
tobtoht
2021-09-15 23:46:04 +02:00
parent c15426fee4
commit f2b2bb9b7c
+3 -3
View File
@@ -144,9 +144,9 @@ void HistoryWidget::createTxProof() {
auto *tx = ui->history->currentEntry();
if (!tx) return;
auto *dialog = new TxProofDialog(this, m_ctx, tx);
dialog->exec();
dialog->deleteLater();
TxProofDialog dialog{this, m_ctx, tx};
dialog.getTxKey();
dialog.exec();
}
void HistoryWidget::copy(copyField field) {