Skip to content

Commit

Permalink
Sort strings case-insensitive
Browse files Browse the repository at this point in the history
Fix #226
  • Loading branch information
l0drex committed Jan 16, 2024
1 parent 94d2daf commit 4898ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yin_yang/plugins/_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_input(self, widget):
# add all theme names
for i, curComboBox in enumerate(inputs):
themes = list(self.available_themes.values())
themes.sort()
themes.sort(key=lambda s: s.casefold())
curComboBox.addItems(themes)
curComboBox.setMinimumContentsLength(4)
# set index
Expand Down

0 comments on commit 4898ce2

Please sign in to comment.