mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 10:37:50 +00:00
Reset Launcher text input on close
This commit is contained in:
@@ -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
|
||||
Calculator {
|
||||
id: calculator
|
||||
|
||||
Reference in New Issue
Block a user