diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 153a08498..bd525c4ba 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -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?")):