mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
debug
This commit is contained in:
parent
7ed9c506d6
commit
1b83f6f435
@ -759,7 +759,7 @@ class WebivewWidget(abstractwebview):
|
||||
webview_native_handle_kind_t.WEBVIEW_NATIVE_HANDLE_KIND_BROWSER_CONTROLLER
|
||||
)
|
||||
|
||||
def __init__(self, parent=None, debug=False) -> None:
|
||||
def __init__(self, parent=None, debug=True) -> None:
|
||||
super().__init__(parent)
|
||||
declare_library_path(
|
||||
os.path.abspath(
|
||||
@ -1005,7 +1005,7 @@ class auto_select_webview(QWidget):
|
||||
if self.contex == 0:
|
||||
browser = mshtmlWidget()
|
||||
elif self.contex == 1:
|
||||
browser = WebivewWidget(debug=True)
|
||||
browser = WebivewWidget()
|
||||
elif self.contex == 2:
|
||||
browser = QWebWrap()
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user