From a45095ef36251d8327e9e3d469b3795e473b85ef Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 21 Sep 2016 11:28:59 +0200 Subject: [PATCH] fix #1934 --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?")):