forked from openlp/openlp
added windows comment
This commit is contained in:
parent
ce5c354e06
commit
5473d3c817
@ -137,7 +137,7 @@ class CustomMediaItem(MediaManagerItem):
|
||||
def loadList(self, custom_slides):
|
||||
self.listView.clear()
|
||||
# Sort the customs by its title considering language specific
|
||||
# characters.
|
||||
# characters. lower() is needed for windows!
|
||||
custom_slides.sort(
|
||||
cmp=locale.strcoll, key=lambda custom: custom.title.lower())
|
||||
for custom_slide in custom_slides:
|
||||
|
@ -230,6 +230,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
log.debug(u'display results Song')
|
||||
self.listView.clear()
|
||||
# Sort the songs by its title considering language specific characters.
|
||||
# lower() is needed for windows!
|
||||
searchresults.sort(
|
||||
cmp=locale.strcoll, key=lambda song: song.title.lower())
|
||||
for song in searchresults:
|
||||
|
Loading…
Reference in New Issue
Block a user