mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: chooser, fix sorting by drm.
This commit is contained in:
parent
d39a8d0dd3
commit
7b98249b90
@ -130,7 +130,7 @@ class Matches(QAbstractItemModel):
|
|||||||
elif col == 1:
|
elif col == 1:
|
||||||
text = match.name
|
text = match.name
|
||||||
elif col == 2:
|
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:
|
elif col == 3:
|
||||||
text = getattr(match, 'headquarters', '')
|
text = getattr(match, 'headquarters', '')
|
||||||
return text
|
return text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user