Reset Launcher text input on close

This commit is contained in:
Ly-sec 2025-08-24 15:22:12 +02:00
parent c3515ddcc0
commit aedbacc495

View file

@ -48,6 +48,16 @@ NPanel {
} }
} }
onClosed: {
// Reset search bar when launcher is closed
searchText = ""
selectedIndex = 0
if (searchInput) {
searchInput.text = ""
searchInput.cursorPosition = 0
}
}
// Import modular components // Import modular components
Calculator { Calculator {
id: calculator id: calculator