--- a/Preferences/__init__.py Thu Jun 29 18:51:03 2017 +0200 +++ b/Preferences/__init__.py Thu Jun 29 19:21:52 2017 +0200 @@ -1103,6 +1103,9 @@ # Flash Cookie Manager: identical to helpDefaults # PIM: identical to helpDefaults # VirusTotal: identical to helpDefaults + # Sessions + "SessionAutoSave": True, + "SessionAutoSaveInterval": 15, # interval in seconds } if QWebEngineSettings: webBrowserDefaults["HelpViewerType"] = 1 # eric browser @@ -2870,6 +2873,7 @@ "MinimumFontSize", "MinimumLogicalFontSize", "DiskCacheSize", "AcceptCookies", "KeepCookiesUntil", "AdBlockUpdatePeriod", "TabManagerGroupByType", + "SessionAutoSaveInterval", ]: return int(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key])) @@ -2893,6 +2897,7 @@ "PrintElementBackgrounds", "AllowRunningInsecureContent", "SpellCheckEnabled", "ShowToolbars", "MenuBarVisible", "BookmarksToolBarVisible", "StatusBarVisible", + "SessionAutoSave", ]: return toBool(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))