Browse Source

qt send tab: show "Pay" button even in watch-only wallets

master
SomberNight 6 years ago
parent
commit
e9645db182
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/gui/qt/main_window.py

1
electrum/gui/qt/main_window.py

@ -2063,7 +2063,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
def update_buttons_on_seed(self): def update_buttons_on_seed(self):
self.seed_button.setVisible(self.wallet.has_seed()) self.seed_button.setVisible(self.wallet.has_seed())
self.password_button.setVisible(self.wallet.may_have_password()) self.password_button.setVisible(self.wallet.may_have_password())
self.send_button.setVisible(not self.wallet.is_watching_only())
def change_password_dialog(self): def change_password_dialog(self):
from electrum.storage import StorageEncryptionVersion from electrum.storage import StorageEncryptionVersion

Loading…
Cancel
Save