putting in current borders
This commit is contained in:
parent
8aa682e769
commit
0c38cbcbdd
@ -948,7 +948,7 @@ class _WebEngineScripts(QObject):
|
|||||||
new_script = QWebEngineScript()
|
new_script = QWebEngineScript()
|
||||||
try:
|
try:
|
||||||
world = int(script.jsworld)
|
world = int(script.jsworld)
|
||||||
if not 0 <= world < 256:
|
if not 0 <= world <= 11:
|
||||||
log.greasemonkey.error(
|
log.greasemonkey.error(
|
||||||
"script {} has invalid value for '@qute-js-world'"
|
"script {} has invalid value for '@qute-js-world'"
|
||||||
": {}".format(script.name, script.jsworld))
|
": {}".format(script.name, script.jsworld))
|
||||||
|
Loading…
Reference in New Issue
Block a user