From d1018d2e4aae7634f337afec4ee85d8bf89b7946 Mon Sep 17 00:00:00 2001 From: Galunid Date: Sun, 9 Aug 2020 11:19:50 +0200 Subject: [PATCH] Make "Auto sync now and future" persistent (#6488) Currently this setting applies only to the current KOReader instance. It gets reseted after KOReader restart. --- plugins/kosync.koplugin/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/kosync.koplugin/main.lua b/plugins/kosync.koplugin/main.lua index 13d3bad8f..6fcf4744a 100644 --- a/plugins/kosync.koplugin/main.lua +++ b/plugins/kosync.koplugin/main.lua @@ -165,6 +165,7 @@ function KOSync:addToMainMenu(menu_items) -- current progress now to avoid to lose it silently. self:updateProgress(true) end + self:saveSettings() end, }, {