mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-08-14 08:09:38 +02:00
fix: strip suggest box queries of whitespace
This commit is contained in:
@@ -143,7 +143,7 @@ class SuggestBox[T](QWidget):
|
||||
raise NotImplementedError()
|
||||
|
||||
def _on_search_query_changed(self, query: str) -> None:
|
||||
self._update_items(query)
|
||||
self._update_items(query.strip())
|
||||
|
||||
def _on_search_query_submitted(self, query: str, always_create: bool = False) -> None:
|
||||
# Focus search field if no query
|
||||
|
||||
Reference in New Issue
Block a user