Check if spelling supported by QWebEngineProfile (version 5.8 or higher)
This commit is contained in:
parent
95592770a7
commit
e61e6b124e
@ -4,7 +4,6 @@ astroid==1.5.3
|
||||
certifi==2017.7.27.1
|
||||
chardet==3.0.4
|
||||
github3.py==0.9.6
|
||||
idna==2.6
|
||||
isort==4.2.15
|
||||
lazy-object-proxy==1.3.1
|
||||
mccabe==0.6.1
|
||||
|
@ -133,7 +133,8 @@ class DictionaryLanguageSetter(DefaultProfileSetter):
|
||||
"""Sets paths to dictionary files based on language codes."""
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('setSpellCheckLanguages')
|
||||
super().__init__('setSpellCheckLanguages', default=[],
|
||||
min_version='5.8')
|
||||
|
||||
def _set(self, value, settings=None):
|
||||
if settings is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user