Fix bug where home screen editor is empty with a fresh install
This commit is contained in:
1 parent
1e121fdddd
commit
22f8031b91
3 files changed
+29
-8
No files matched your search
@@ -171,7 +171,9 @@ function MigrateExistingPreferences(userPrefs as object) as boolean
|
||||
end if
|
||||
filteredLayout.Push(item)
|
||||
end for
|
||||
userPrefs["misc.home_screen_layout"] = filteredLayout
|
||||
if filteredLayout.Count() > 0
|
||||
userPrefs["misc.home_screen_layout"] = filteredLayout
|
||||
end if
|
||||
userPrefs.__version = 6
|
||||
isDirty = true
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user