diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2018-01-30 17:47:19 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-01 07:38:43 +0000 |
commit | 7c8c0414620cd3cb350e77cd88f83f83237eefa3 (patch) | |
tree | 760a07356ef3ffdc6f2fd2bc873f5eca9f8df05f /examples | |
parent | 5ab157588214bfbbc1d1f258a461b1cab4cc3991 (diff) |
Unset inspectedView when devTools are not visible
The webview in quicknanobrowser shows devtools related information,
for example: resolution appears in the top right corner when resizing
the window.
Change-Id: I494450f4976155f995bcb7e843d82ba081d91493
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/webengine/quicknanobrowser/BrowserWindow.qml | 2 |
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 |