mirror of
https://github.com/UN-GCPDS/qt-material.git
synced 2025-01-27 17:02:57 +08:00
Sort list themes
This commit is contained in:
parent
3f44de3fdf
commit
72dfab8247
@ -164,7 +164,7 @@ def list_themes():
|
||||
themes = os.listdir(os.path.join(
|
||||
os.path.dirname(os.path.abspath(__file__)), 'themes'))
|
||||
themes = filter(lambda a: a.endswith('xml'), themes)
|
||||
return list(themes)
|
||||
return sorted(list(themes))
|
||||
|
||||
|
||||
########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user