Commit 82d2e94e authored by Mikel Johnson's avatar Mikel Johnson
Browse files

[Kickoff] Check for searchPage directly rather than root.state

BUG: 431894

FIXED-IN: 5.21


(cherry picked from commit 62503e21)
parent d52ef559
......@@ -906,7 +906,7 @@ Item {
}
}
onCurrentContentViewChanged: {
if (keyboardNavigation.state == "RightColumn" && root.state != "search") {
if (keyboardNavigation.state == "RightColumn" && root.currentContentView != searchPage.item) {
root.currentContentView.forceActiveFocus()
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment