This commit is contained in:
ThomasV 2016-09-21 11:28:59 +02:00
parent a3b4409e6e
commit a45095ef36
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
addr = self.wallet.get_unused_address()
if addr is None:
from electrum.wallet import Imported_Wallet
if isinstance(self.wallet, Imported_Wallet):
if not self.wallet.is_deterministic():
self.show_message(_('No more addresses in your wallet.'))
return
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?")):