diff --git a/electrum/gui/qt/__init__.py b/electrum/gui/qt/__init__.py index a358980d7..0aae432ef 100644 --- a/electrum/gui/qt/__init__.py +++ b/electrum/gui/qt/__init__.py @@ -423,8 +423,9 @@ class ElectrumGui(BaseElectrumGui, Logger): d = wizard.get_wizard_data() if d['wallet_is_open']: + wallet_path = self.daemon._wallet_key_from_path(d['wallet_name']) for window in self.windows: - if window.wallet.storage.path == d['wallet_name']: + if window.wallet.storage.path == wallet_path: return window.wallet raise Exception('found by wizard but not here?!')