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