mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
update
This commit is contained in:
parent
7b388a007e
commit
be4da21301
@ -549,8 +549,8 @@ class WebivewWidget(QWidget):
|
|||||||
self.webview.bind("__on_load", self._on_load)
|
self.webview.bind("__on_load", self._on_load)
|
||||||
self.webview.init("""window.__on_load(window.location.href)""")
|
self.webview.init("""window.__on_load(window.location.href)""")
|
||||||
|
|
||||||
def _on_load(self, _, href):
|
def _on_load(self, href):
|
||||||
self.on_load.emit(json.loads(href)[0])
|
self.on_load.emit(href)
|
||||||
|
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
return getattr(self.webview, (name))
|
return getattr(self.webview, (name))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
PyQt5==5.15.10
|
PyQt5==5.15.10
|
||||||
PyQt5-Qt5==5.15.2
|
PyQt5-Qt5==5.15.2
|
||||||
webviewpy==1.0.5
|
webviewpy==1.1.0
|
||||||
nuitka==2.0.5
|
nuitka==2.0.5
|
||||||
imageio
|
imageio
|
||||||
pefile
|
pefile
|
Loading…
x
Reference in New Issue
Block a user