Update settings.lua

This commit is contained in:
Ale32bit 2016-03-24 11:27:33 +01:00
parent 89dea781bf
commit 96eb0472b9

View file

@ -185,7 +185,7 @@ local function editTheme()
local loadTheme = read()
if fs.exists(loadTheme) and not fs.isDir(loadTheme) then
for k, v in pairs(sPhone.theme) do
sPhone.theme[k] = config.read("/.sPhone/config/theme", k)
sPhone.theme[k] = config.read(loadTheme, k)
end
sPhone.winOk("Theme loaded!")
else