(using string error code for now, ideally should be properly defined
as an enum)
Also fix animation bug and work around broken ListView header implementation
#if not self.wallet.is_deterministic(): # imported wallet
return
#msg = [
#msg = [
#_('No more addresses in your wallet.'), ' ',
#_('No more addresses in your wallet.'), ' ',
#_('You are using a non-deterministic wallet, which cannot create new addresses.'), ' ',
#_('You are using a non-deterministic wallet, which cannot create new addresses.'), ' ',
@ -137,16 +137,18 @@ class QEWallet(QObject):
#if not self.question(''.join(msg)):
#if not self.question(''.join(msg)):
#return
#return
#addr = self.wallet.get_receiving_address()
#addr = self.wallet.get_receiving_address()
#else: # deterministic wallet
else:# deterministic wallet
#if not self.question(_("Warning: The next address will not be recovered automatically if you restore your wallet from seed; you may need to add it manually.\n\nThis occurs because you have too many unused addresses in your wallet. To avoid this situation, use the existing addresses first.\n\nCreate anyway?")):
ifnotignore_gap:
#return
self.requestCreateError.emit('gaplimit',_("Warning: The next address will not be recovered automatically if you restore your wallet from seed; you may need to add it manually.\n\nThis occurs because you have too many unused addresses in your wallet. To avoid this situation, use the existing addresses first.\n\nCreate anyway?"))