Skip to content

Commit

Permalink
feat:[#297] Make timezone search require at least 2 chars to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
muhdsalm authored and mirkobrombin committed Jun 17, 2024
1 parent ed99cba commit 8287220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vanilla_first_setup/defaults/timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def remove_accents(msg: str):
search_entry = self.entry_search_timezone.get_text().lower()
keywords = remove_accents(search_entry)

if len(keywords) == 0:
if len(keywords) <= 1:
for expander in self.__expanders:
expander.set_visible(True)
expander.set_expanded(False)
Expand Down

0 comments on commit 8287220

Please sign in to comment.