mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
qt, refactor: Keep PSBTOperationsDialog in the main event loop
This commit is contained in:
parent
7fa91e8312
commit
c8bae37a7a
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue