diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-03-15 19:41:56 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-03-16 22:07:23 +0100 |
commit | 76b01c4aeab77c4ab4e052d31141e010b9a73111 (patch) | |
tree | ff9eb3dd86d23bcf1b4e99bbc546f81753156fd3 /examples | |
parent | 7b11561d8f63d521d4bc0e6fb005182cdfe93f82 (diff) | |
download | qtwebengine-76b01c4aeab77c4ab4e052d31141e010b9a73111.tar.gz |
QtPDF multipage example: open the search results tab during search
It's unfortunate that we need to use a numeric index; but it will be ok
as long as we don't rearrange tabs any more.
Pick-to: 6.2 6.5
Fixes: QTBUG-106359
Change-Id: I036c45a6de7690e9ed122c74448a89da343f10d5
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pdf/multipage/viewer.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pdf/multipage/viewer.qml b/examples/pdf/multipage/viewer.qml index fcf326869..d0b0a7263 100644 --- a/examples/pdf/multipage/viewer.qml +++ b/examples/pdf/multipage/viewer.qml @@ -412,7 +412,7 @@ ApplicationWindow { Layout.bottomMargin: 3 onAccepted: { sidebar.open() - sidebarTabs.setCurrentIndex(0) + sidebarTabs.setCurrentIndex(1) } Image { visible: searchField.text !== "" |