Minor config fixes

This commit is contained in:
Florian Bruhin 2017-06-13 15:54:36 +02:00
parent c8c9536beb
commit 4b4acc5f5a
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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),

View File

@ -262,7 +262,7 @@ messages.unfocused:
confirm_quit:
type: ConfirmQuit
default: never
default: [never]
desc: Whether to confirm quitting the application.
zoom.text_only:

View File

@ -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):