From 41bb849f8a0186dbf10778566914d563ed823139 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 24 Apr 2024 13:16:12 +0200 Subject: [PATCH] qt: normalize wallet path before lookup in window list --- electrum/gui/qt/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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?!')