Fix configdata.py typos, use scheme from url.
This commit is contained in:
parent
d7d4c232d0
commit
e78b00cce2
@ -423,7 +423,7 @@ class WebView(QWebView):
|
|||||||
"""
|
"""
|
||||||
ok = not self.page().error_occurred
|
ok = not self.page().error_occurred
|
||||||
if ok and not self._has_ssl_errors:
|
if ok and not self._has_ssl_errors:
|
||||||
if self.cur_url.toDisplayString().startswith('https'):
|
if self.cur_url.scheme() == 'https':
|
||||||
self._set_load_status(LoadStatus.success_https)
|
self._set_load_status(LoadStatus.success_https)
|
||||||
else:
|
else:
|
||||||
self._set_load_status(LoadStatus.success)
|
self._set_load_status(LoadStatus.success)
|
||||||
|
@ -872,17 +872,13 @@ def data(readonly=False):
|
|||||||
SettingValue(typ.QssColor(), '#ff4444'),
|
SettingValue(typ.QssColor(), '#ff4444'),
|
||||||
"Foreground color of the matched text in the completion."),
|
"Foreground color of the matched text in the completion."),
|
||||||
|
|
||||||
('statusbar.fg.https',
|
|
||||||
SettingValue(typ.QssColor(), 'white'),
|
|
||||||
"Foreground color of the statusbar(https)."),
|
|
||||||
|
|
||||||
('statusbar.fg',
|
('statusbar.fg',
|
||||||
SettingValue(typ.QssColor(), 'white'),
|
SettingValue(typ.QssColor(), 'white'),
|
||||||
"Foreground color of the statusbar(http)."),
|
"Foreground color of the statusbar(http)."),
|
||||||
|
|
||||||
('statusbar.bg',
|
('statusbar.bg',
|
||||||
SettingValue(typ.QssColor(), 'black'),
|
SettingValue(typ.QssColor(), 'black'),
|
||||||
"Background color of the statusbar(http)."),
|
"Background color of the statusbar."),
|
||||||
|
|
||||||
('statusbar.fg.error',
|
('statusbar.fg.error',
|
||||||
SettingValue(typ.QssColor(), '${statusbar.fg}'),
|
SettingValue(typ.QssColor(), '${statusbar.fg}'),
|
||||||
|
Loading…
Reference in New Issue
Block a user