mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
Store: chooser, fix sorting by drm.
This commit is contained in:
@@ -130,7 +130,7 @@ class Matches(QAbstractItemModel):
|
||||
elif col == 1:
|
||||
text = match.name
|
||||
elif col == 2:
|
||||
text = 'b' if getattr(match, 'drm', True) else 'a'
|
||||
text = 'a' if getattr(match, 'drm_free_only', True) else 'b'
|
||||
elif col == 3:
|
||||
text = getattr(match, 'headquarters', '')
|
||||
return text
|
||||
|
||||
Reference in New Issue
Block a user