Fix app.Settings#applyLegacyValues when value is false

pull/165/head
Thibaut 10 years ago
parent b8040a119c
commit 20940d732a

@ -19,7 +19,7 @@ class app.Settings
return return
applyLegacyValues: (settings) -> applyLegacyValues: (settings) ->
for key, v of settings when value = @store.get(key) for key, v of settings when (value = @store.get(key))?
settings[key] = value settings[key] = value
@store.del(key) @store.del(key)
return return

Loading…
Cancel
Save