1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

spotlight focus fix

This commit is contained in:
bbedward
2025-08-13 17:38:51 -04:00
parent 4b8e529496
commit b9684ea2e2

View File

@@ -563,7 +563,12 @@ DankModal {
spotlightOpen = true;
if (contentLoader.item && contentLoader.item.appLauncher)
contentLoader.item.appLauncher.searchQuery = "";
Qt.callLater(function() {
if (contentLoader.item && contentLoader.item.searchField) {
contentLoader.item.searchField.forceActiveFocus();
}
});
}