Browse Source
qt tx dialog: use WaitingDialog for network requests in __init__
patch-4
SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
5 additions and
1 deletions
-
electrum/gui/qt/transaction_dialog.py
|
|
@ -215,7 +215,11 @@ class BaseTxDialog(QDialog, MessageBoxMixin): |
|
|
|
# As a result, e.g. we might learn an imported address tx is segwit, |
|
|
|
# or that a beyond-gap-limit address is is_mine. |
|
|
|
# note: this might fetch prev txs over the network. |
|
|
|
tx.add_info_from_wallet(self.wallet) |
|
|
|
BlockingWaitingDialog( |
|
|
|
self, |
|
|
|
_("Adding info to tx, from wallet and network..."), |
|
|
|
lambda: tx.add_info_from_wallet(self.wallet), |
|
|
|
) |
|
|
|
|
|
|
|
def do_broadcast(self): |
|
|
|
self.main_window.push_top_level_window(self) |
|
|
|