mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-28 14:07:47 -04:00
niri: don't rely on text field length for launching
This commit is contained in:
1 parent
d0b61d8ed1
commit
18231ed324
1 file changed
+2
-2
@@ -250,8 +250,8 @@ Scope {
|
||||
property var fakeParentModal: QtObject {
|
||||
property bool spotlightOpen: spotlightContainer.visible
|
||||
function hide() {
|
||||
if (spotlightContent.searchField.text.length > 0) {
|
||||
niriOverviewScope.hideSpotlight();
|
||||
if (niriOverviewScope.searchActive) {
|
||||
niriOverviewScope.hideAndReleaseKeyboard();
|
||||
return;
|
||||
}
|
||||
NiriService.toggleOverview();
|
||||
|
||||
Reference in new issue
Block a user