mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-06 21:48:30 -04:00
refactor(settings): allow search settings to remain on sidebar until dismissed
Closes #2780
Port 1.5
(cherry picked from commit 4ab03deded)
This commit is contained in:
@@ -686,9 +686,6 @@ Rectangle {
|
|||||||
tabChangeRequested(result.tabIndex);
|
tabChangeRequested(result.tabIndex);
|
||||||
autoCollapseIfNeeded(oldIndex, result.tabIndex);
|
autoCollapseIfNeeded(oldIndex, result.tabIndex);
|
||||||
autoExpandForTab(result.tabIndex);
|
autoExpandForTab(result.tabIndex);
|
||||||
searchField.text = "";
|
|
||||||
SettingsSearchService.clear();
|
|
||||||
searchSelectedIndex = 0;
|
|
||||||
keyboardHighlightIndex = -1;
|
keyboardHighlightIndex = -1;
|
||||||
Qt.callLater(searchField.forceActiveFocus);
|
Qt.callLater(searchField.forceActiveFocus);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user