parent
378498bbd7
commit
455b90ecad
@ -36,7 +36,8 @@ from PyQt5.QtWebEngineWidgets import (QWebEngineSettings, QWebEngineProfile,
|
|||||||
from qutebrowser.browser import shared
|
from qutebrowser.browser import shared
|
||||||
from qutebrowser.browser.webengine import spell
|
from qutebrowser.browser.webengine import spell
|
||||||
from qutebrowser.config import config, websettings
|
from qutebrowser.config import config, websettings
|
||||||
from qutebrowser.utils import utils, standarddir, javascript, qtutils, message
|
from qutebrowser.utils import (utils, standarddir, javascript, qtutils, message,
|
||||||
|
log)
|
||||||
|
|
||||||
# The default QWebEngineProfile
|
# The default QWebEngineProfile
|
||||||
default_profile = None
|
default_profile = None
|
||||||
@ -145,6 +146,7 @@ class DictionaryLanguageSetter(DefaultProfileSetter):
|
|||||||
raise ValueError("'settings' may not be set with "
|
raise ValueError("'settings' may not be set with "
|
||||||
"DictionaryLanguageSetter!")
|
"DictionaryLanguageSetter!")
|
||||||
filenames = [self._find_installed(code) for code in value]
|
filenames = [self._find_installed(code) for code in value]
|
||||||
|
log.config.debug("Found dicts: {}".format(filenames))
|
||||||
super()._set([f for f in filenames if f], settings)
|
super()._set([f for f in filenames if f], settings)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user