URI: 
       tqt tx dialog: use WaitingDialog for network requests in __init__ - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 85f76523b6b29d49099648725c5fccc337ad28a5
   DIR parent 422f7ad110b5053a794f48ec7df97a034c801248
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed,  6 Jan 2021 02:27:17 +0100
       
       qt tx dialog: use WaitingDialog for network requests in __init__
       
       Diffstat:
         M electrum/gui/qt/transaction_dialog… |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/gui/qt/transaction_dialog.py b/electrum/gui/qt/transaction_dialog.py
       t@@ -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)