summaryrefslogtreecommitdiffstats
path: root/examples/webengine/quicknanobrowser
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webengine/quicknanobrowser')
-rw-r--r--examples/webengine/quicknanobrowser/BrowserWindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserWindow.qml b/examples/webengine/quicknanobrowser/BrowserWindow.qml
index f3bd8e457..be1e42c73 100644
--- a/examples/webengine/quicknanobrowser/BrowserWindow.qml
+++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml
@@ -487,7 +487,7 @@ ApplicationWindow {
id: devToolsView
visible: devToolsEnabled.checked
height: 400
- inspectedView: tabs.currentIndex < tabs.count ? tabs.getTab(tabs.currentIndex).item : null
+ inspectedView: visible && tabs.currentIndex < tabs.count ? tabs.getTab(tabs.currentIndex).item : null
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom