commit 30092cd68cdd7d0f31d91cccf5fb509726c37cf0
parent 215dc96de73b507160885fb37d2698c473194898
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 11 Sep 2019 16:36:04 +0200
kivy: request PIN to load_wallet only on android
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py
@@ -596,7 +596,7 @@ class ElectrumWindow(App):
return
wallet = self.daemon.load_wallet(path, None)
if wallet:
- if wallet.has_password():
+ if platform == 'android' and wallet.has_password():
self.password_dialog(wallet, _('Enter PIN code'), lambda x: self.load_wallet(wallet), self.stop)
else:
self.load_wallet(wallet)