mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
(trivial) qt: disable 'swap' button if lightning disabled
This commit is contained in:
parent
561ecaa226
commit
12e2beadd9
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue