Remove unnecessary PerceptionExpander:onSaveSettings()

All the explicite self:saveSettings() needed are done when needed,
and this onSaveSettings() made the file being rewritten unchanged on
each suspend/exit, and created even if people have never used the
plugin.
pull/2490/head
poire-z 7 years ago committed by Qingping Hou
parent 5012fb79d3
commit fc8d26ad89

@ -189,11 +189,6 @@ function PerceptionExpander:addToMainMenu(tab_item_table)
})
end
-- in case when screensaver starts
function PerceptionExpander:onSaveSettings()
self:saveSettings()
end
function PerceptionExpander:onPageUpdate(pageno)
if not self.is_enabled then
return

Loading…
Cancel
Save