commit dc919e91773d5db723457687c7272b813622b229
parent 352c48f339c0200bf03867e017e392c3186581d9
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 19 Aug 2016 13:10:39 +0200
minor fix: has_password
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/kivy/uix/dialogs/settings.py b/gui/kivy/uix/dialogs/settings.py
@@ -138,7 +138,7 @@ class SettingsDialog(Factory.Popup):
def update(self):
self.wallet = self.app.wallet
self.disable_pin = self.wallet.is_watching_only() if self.wallet else True
- self.use_encryption = self.wallet.use_encryption if self.wallet else False
+ self.use_encryption = self.wallet.has_password() if self.wallet else False
def get_language_name(self):
return languages.get(self.config.get('language', 'en_UK'), '')