Browse Source

don't show actinos that require private key if the wallet has no seed

283
thomasv 11 years ago
parent
commit
6458c0f591
  1. 1
      gui/qt/main_window.py

1
gui/qt/main_window.py

@ -1124,6 +1124,7 @@ class ElectrumWindow(QMainWindow):
menu.addAction(_("Copy to clipboard"), lambda: self.app.clipboard().setText(addr))
menu.addAction(_("QR code"), lambda: self.show_qrcode("bitcoin:" + addr, _("Address")) )
menu.addAction(_("Edit label"), lambda: self.edit_label(True))
if self.wallet.seed:
menu.addAction(_("Private key"), lambda: self.show_private_key(addr))
menu.addAction(_("Sign message"), lambda: self.sign_message(addr))
if addr in self.wallet.imported_keys:

Loading…
Cancel
Save