URI: 
       t(trivial) qt: disable 'swap' button if lightning disabled - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 12e2beadd9ed51faae0035f12f22f7176054205f
   DIR parent 561ecaa2260e699e7ef62ef8b03f4c0f5317bbca
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Fri, 19 Jun 2020 04:15:37 +0200
       
       (trivial) qt: disable 'swap' button if lightning disabled
       
       Diffstat:
         M electrum/gui/qt/channels_list.py    |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py
       t@@ -279,6 +279,7 @@ class ChannelsList(MyTreeView):
                h.addWidget(self.can_send_label)
                h.addStretch()
                self.swap_button = EnterButton(_('Swap'), self.swap_dialog)
       +        self.swap_button.setEnabled(self.parent.wallet.has_lightning())
                self.new_channel_button = EnterButton(_('Open Channel'), self.new_channel_dialog)
                self.new_channel_button.setEnabled(self.parent.wallet.has_lightning())
                h.addWidget(self.new_channel_button)