tfix: crash in QT InstallWizard if wallet path results in IOError and user still clicks Next (see #3404) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 80f99b68e0f32b94238e030658a6a3170118ab21 DIR parent e4c77d91563b0292bb73c6a1c2ab261ba266bc19 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sun, 3 Dec 2017 16:55:15 +0100 fix: crash in QT InstallWizard if wallet path results in IOError and user still clicks Next (see #3404) Diffstat: M gui/qt/installwizard.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -187,8 +187,10 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): path = os.path.join(wallet_folder, filename) try: self.storage = WalletStorage(path, manual_upgrades=True) + self.next_button.setEnabled(True) except IOError: self.storage = None + self.next_button.setEnabled(False) if self.storage: if not self.storage.file_exists(): msg =_("This file does not exist.") + '\n' \