URI: 
       tQt: disable preview button in open_channel - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit ed29a45d50cbb234b384f4c37bb5751a54a10dcc
   DIR parent 20d8da7e24e8377f6c752b994e7bfdb02b6fa49c
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Mon, 24 Feb 2020 12:29:56 +0100
       
       Qt: disable preview button in open_channel
       
       Diffstat:
         M electrum/gui/qt/main_window.py      |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
       t@@ -1659,9 +1659,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
            def open_channel(self, connect_str, funding_sat, push_amt):
                # use ConfirmTxDialog
                # we need to know the fee before we broadcast, because the txid is required
       -        # however, the user must not be allowed to broadcast early
                make_tx = self.mktx_for_open_channel(funding_sat)
                d = ConfirmTxDialog(window=self, make_tx=make_tx, output_value=funding_sat, is_sweep=False)
       +        # disable preview button because the user must not broadcast tx before establishment_flow
       +        d.preview_button.setEnabled(False)
                cancelled, is_send, password, funding_tx = d.run()
                if not is_send:
                    return