mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 21:12:29 +02:00
qt, refactor: Keep PSBTOperationsDialog in the main event loop
This commit is contained in:
parent
7fa91e8312
commit
c8bae37a7a
@ -220,10 +220,9 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
|
||||
return;
|
||||
}
|
||||
|
||||
PSBTOperationsDialog* dlg = new PSBTOperationsDialog(this, currentWalletModel(), clientModel);
|
||||
auto dlg = new PSBTOperationsDialog(this, currentWalletModel(), clientModel);
|
||||
dlg->openWithPSBT(psbtx);
|
||||
dlg->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dlg->exec();
|
||||
GUIUtil::ShowModalDialogAndDeleteOnClose(dlg);
|
||||
}
|
||||
|
||||
void WalletFrame::encryptWallet()
|
||||
|
Loading…
Reference in New Issue
Block a user