mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-06 03:55:02 +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
|
// Import modular components
|
||||||
Calculator {
|
Calculator {
|
||||||
id: calculator
|
id: calculator
|
||||||
|
|||||||
Reference in New Issue
Block a user