Close launcher after delete confirmation

This commit is contained in:
David Heinemeier Hansson
2026-06-29 11:30:42 -05:00
parent e49c74eee8
commit 2cd73f39d2
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ assert(
const confirmDeleteMatch = launcherQml.match(/function confirmDelete\(\) \{([\s\S]*?)\n \}/)
assert(confirmDeleteMatch, 'launcher confirmDelete function exists')
assert(
!confirmDeleteMatch[1].includes('root.dismiss()'),
'launcher delete keeps launcher open after confirmation'
confirmDeleteMatch[1].includes('root.dismiss()'),
'launcher delete closes launcher after confirmation'
)
assert(
confirmDeleteMatch[1].includes('Util.hyprExecCommand(command)'),