forked from cerc-io/plugeth
Work around race condition with qt webinspector for windows builds
This commit is contained in:
parent
dce0ccf490
commit
e53acdc2ac
@ -191,6 +191,7 @@ ApplicationWindow {
|
|||||||
inspector.visible = false
|
inspector.visible = false
|
||||||
}else{
|
}else{
|
||||||
inspector.visible = true
|
inspector.visible = true
|
||||||
|
inspector.url = webview.experimental.remoteInspectorUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onDoubleClicked: {
|
onDoubleClicked: {
|
||||||
@ -224,7 +225,6 @@ ApplicationWindow {
|
|||||||
WebView {
|
WebView {
|
||||||
id: inspector
|
id: inspector
|
||||||
visible: false
|
visible: false
|
||||||
url: webview.experimental.remoteInspectorUrl
|
|
||||||
anchors {
|
anchors {
|
||||||
left: root.left
|
left: root.left
|
||||||
right: root.right
|
right: root.right
|
||||||
@ -238,7 +238,6 @@ ApplicationWindow {
|
|||||||
name: "inspectorShown"
|
name: "inspectorShown"
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: inspector
|
target: inspector
|
||||||
url: webview.experimental.remoteInspectorUrl
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user