qt, test: Recognize dialog object by name

This commit is contained in:
Hennadii Stepanov
2024-02-19 13:53:47 +00:00
parent 3cbc8cbc71
commit 4c9db9b587
2 changed files with 2 additions and 1 deletions

View File

@@ -406,6 +406,7 @@ void SendCoinsDialog::presentPSBT(PartiallySignedTransaction& psbtx)
msgBox.setInformativeText(tr("The PSBT has been copied to the clipboard. You can also save it."));
msgBox.setStandardButtons(QMessageBox::Save | QMessageBox::Discard);
msgBox.setDefaultButton(QMessageBox::Discard);
msgBox.setObjectName("psbt_copied_message");
switch (msgBox.exec()) {
case QMessageBox::Save: {
QString selectedFilter;