Skip to content

Commit c582cab

Browse files
committed
Merge bitcoin#1130: [UI] Copy correct data from mninfo dialog
7468c55 [UI] Copy correct data from mninfo dialog (Akshay) Pull request description: This PR fixes the mninfodialog code to copy the pubkey or txid correctly. ACKs for top commit: random-zebra: ACK 7468c55 furszy: ACK 7468c55 Tree-SHA512: cbd1d4514b3a42a2251290cd77964fa1e69fa29119f5f536fea4aa0b79d0c50e32caa77b41a9d04d766e5b911ff4d43491c5027c29792f62b25b06c6133107df
2 parents b5bede0 + 7468c55 commit c582cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/pivx/mninfodialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ MnInfoDialog::MnInfoDialog(QWidget *parent) :
2525
setCssProperty({ui->pushCopy, ui->pushCopyId, ui->pushExport}, "ic-copy-big");
2626
setCssProperty(ui->btnEsc, "ic-close");
2727
connect(ui->btnEsc, SIGNAL(clicked()), this, SLOT(closeDialog()));
28-
connect(ui->pushCopy, &QPushButton::clicked, [this](){ copyInform(txId, "Master Node public key copied"); });
29-
connect(ui->pushCopyId, &QPushButton::clicked, [this](){ copyInform(pubKey, "Collateral tx id copied"); });
28+
connect(ui->pushCopy, &QPushButton::clicked, [this](){ copyInform(pubKey, "Master Node public key copied"); });
29+
connect(ui->pushCopyId, &QPushButton::clicked, [this](){ copyInform(txId, "Collateral tx id copied"); });
3030
connect(ui->pushExport, &QPushButton::clicked, [this](){ exportMN = true; accept(); });
3131
}
3232

0 commit comments

Comments
 (0)