tqt: close wizard after splitting an old multi-account wallet - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b6d5304e514be0b453652e4a833fec9f8d64f313 DIR parent b134f04fef62991e302185da44b1a53a0984f302 HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 1 Mar 2019 20:50:17 +0100 qt: close wizard after splitting an old multi-account wallet instead of trying to open the old pre-split file Diffstat: M electrum/gui/qt/installwizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/installwizard.py b/electrum/gui/qt/installwizard.py t@@ -304,7 +304,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): if self.question(msg): os.remove(path) self.show_warning(_('The file was removed')) - return + # raise now, to avoid having the old storage opened + raise UserCancelled() action = storage.get_action() if action and storage.requires_upgrade():