mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
add missing import
This commit is contained in:
parent
d7344edd6b
commit
2afa6b5f36
1 changed files with 1 additions and 0 deletions
|
@ -800,6 +800,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||
def new_payment_request(self):
|
||||
addr = self.wallet.get_unused_address(self.current_account)
|
||||
if addr is None:
|
||||
from electrum.wallet import Imported_Wallet
|
||||
if isinstance(self.wallet, Imported_Wallet):
|
||||
self.show_message(_('No more addresses in your wallet.'))
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue