URI: 
       tqt broadcast tx: don't complain about being "offline" for partial tx - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2880c26d871aefce87a63d89fd156a8d793280ce
   DIR parent cb41a0fe89fd96c5ad28fd65377831edb2566bdc
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue, 21 Jan 2020 15:12:25 +0100
       
       qt broadcast tx: don't complain about being "offline" for partial tx
       
       Diffstat:
         M electrum/gui/qt/main_window.py      |       9 +++++----
       
       1 file changed, 5 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
       t@@ -1561,13 +1561,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
                d.show()
        
            def broadcast_or_show(self, tx: Transaction):
       +        if not tx.is_complete():
       +            self.show_transaction(tx)
       +            return
                if not self.network:
                    self.show_error(_("You can't broadcast a transaction without a live network connection."))
                    self.show_transaction(tx)
       -        elif not tx.is_complete():
       -            self.show_transaction(tx)
       -        else:
       -            self.broadcast_transaction(tx)
       +            return
       +        self.broadcast_transaction(tx)
        
            @protected
            def sign_tx(self, tx, *, callback, external_keypairs, password):