Minor config fixes
This commit is contained in:
parent
c8c9536beb
commit
4b4acc5f5a
@ -674,7 +674,7 @@ class Quitter:
|
||||
if session is not None:
|
||||
session_manager.save(session, last_window=last_window,
|
||||
load_next_time=True)
|
||||
elif config.val.save_session:
|
||||
elif config.val.auto_save.session:
|
||||
session_manager.save(sessions.default, last_window=last_window,
|
||||
load_next_time=True)
|
||||
|
||||
|
@ -175,7 +175,7 @@ MAPPINGS = {
|
||||
CookiePolicy(),
|
||||
'content.dns_prefetch':
|
||||
Attribute(QWebSettings.DnsPrefetchEnabled),
|
||||
'content.frame-flattening':
|
||||
'content.frame_flattening':
|
||||
Attribute(QWebSettings.FrameFlatteningEnabled),
|
||||
'content.offline_web_application_cache':
|
||||
Attribute(QWebSettings.OfflineWebApplicationCacheEnabled),
|
||||
|
@ -262,7 +262,7 @@ messages.unfocused:
|
||||
|
||||
confirm_quit:
|
||||
type: ConfirmQuit
|
||||
default: never
|
||||
default: [never]
|
||||
desc: Whether to confirm quitting the application.
|
||||
|
||||
zoom.text_only:
|
||||
|
@ -397,7 +397,7 @@ class FlagList(List):
|
||||
_show_valtype = False
|
||||
|
||||
def __init__(self, none_ok=False, valid_values=None):
|
||||
super().__init__(BaseType(), none_ok)
|
||||
super().__init__(String(), none_ok)
|
||||
self.valtype.valid_values = valid_values
|
||||
|
||||
def _check_duplicates(self, values):
|
||||
|
Loading…
Reference in New Issue
Block a user