If wallet does not exist, then it does not even attempt to read the config (read returns on IOError exception). Ergo a new wallet will not ever set the theme name and it will stay as None. We change this to a sensible default so new wallets have a themed GUI.
This commit is contained in:
parent
4c1bc14104
commit
ca4473c620
|
@ -290,7 +290,7 @@ class Wallet:
|
||||||
self.num_zeros = 0
|
self.num_zeros = 0
|
||||||
self.master_public_key = ''
|
self.master_public_key = ''
|
||||||
self.conversion_currency = None
|
self.conversion_currency = None
|
||||||
self.theme = None
|
self.theme = "Cleanlook"
|
||||||
|
|
||||||
# saved fields
|
# saved fields
|
||||||
self.use_encryption = False
|
self.use_encryption = False
|
||||||
|
|
Loading…
Reference in New Issue