History: grab tx key for tx proof dialog

This commit is contained in:
tobtoht 2021-08-19 20:06:29 +02:00
parent c15426fee4
commit f2b2bb9b7c

View file

@ -144,9 +144,9 @@ void HistoryWidget::createTxProof() {
auto *tx = ui->history->currentEntry(); auto *tx = ui->history->currentEntry();
if (!tx) return; if (!tx) return;
auto *dialog = new TxProofDialog(this, m_ctx, tx); TxProofDialog dialog{this, m_ctx, tx};
dialog->exec(); dialog.getTxKey();
dialog->deleteLater(); dialog.exec();
} }
void HistoryWidget::copy(copyField field) { void HistoryWidget::copy(copyField field) {