Commit cc33c78f authored by Krešimir Čohar's avatar Krešimir Čohar

[Kickoff] Return Kickoff to Favorites page after running a search

Summary:
This patch fixes the bug that would make Kickoff retain the contents of the tab that was selected when a search was run from a tab other than
Favorites (but at the same time highlight Favorites in the Tab Bar, when it was in fact, stuck on another tab).

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18848
parent a8da90e2
......@@ -50,11 +50,11 @@ Item {
function switchToInitial() {
if (firstButton != null) {
root.state = "Normal";
mainTabGroup.currentTab = firstButton.tab;
tabBar.currentTab = firstButton;
header.query = ""
header.state = "hint";
root.state = "Normal";
}
}
......
Markdown is supported
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