We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa91e8 commit c8bae37Copy full SHA for c8bae37
src/qt/walletframe.cpp
@@ -220,10 +220,9 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
220
return;
221
}
222
223
- PSBTOperationsDialog* dlg = new PSBTOperationsDialog(this, currentWalletModel(), clientModel);
+ auto dlg = new PSBTOperationsDialog(this, currentWalletModel(), clientModel);
224
dlg->openWithPSBT(psbtx);
225
- dlg->setAttribute(Qt::WA_DeleteOnClose);
226
- dlg->exec();
+ GUIUtil::ShowModalDialogAndDeleteOnClose(dlg);
227
228
229
void WalletFrame::encryptWallet()
0 commit comments