prefs is now stored every save

This commit is contained in:
p.kosyh 2011-04-23 17:54:56 +00:00
parent 3faeca5c9a
commit 5dbe67bc7a

View file

@ -18,7 +18,8 @@ prefs = obj {
h:flush(); h:flush();
h:close(); h:close();
end, end,
save = function(s) save = function(s) -- save prefs on every save
s:store()
end, end,
purge = function(s) purge = function(s)
local name = get_savepath() .. '/prefs'; local name = get_savepath() .. '/prefs';