|
|
|
@ -1171,8 +1171,10 @@ class JMWalletTab(QWidget): |
|
|
|
if address_valid: |
|
|
|
if address_valid: |
|
|
|
menu.addAction("Copy address to clipboard", |
|
|
|
menu.addAction("Copy address to clipboard", |
|
|
|
lambda: app.clipboard().setText(txt)) |
|
|
|
lambda: app.clipboard().setText(txt)) |
|
|
|
menu.addAction("Show QR code", |
|
|
|
# Show QR code option only for new addresses to avoid address reuse |
|
|
|
lambda: self.openQRCodePopup(txt)) |
|
|
|
if item.text(3) == "new": |
|
|
|
|
|
|
|
menu.addAction("Show QR code", |
|
|
|
|
|
|
|
lambda: self.openQRCodePopup(txt)) |
|
|
|
if xpub_exists: |
|
|
|
if xpub_exists: |
|
|
|
menu.addAction("Copy extended pubkey to clipboard", |
|
|
|
menu.addAction("Copy extended pubkey to clipboard", |
|
|
|
lambda: app.clipboard().setText(xpub)) |
|
|
|
lambda: app.clipboard().setText(xpub)) |
|
|
|
|