mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Special case display of path field name in book details preferences to match dual use as "folders/path"
This commit is contained in:
parent
eede10c998
commit
d1d4f06ca2
@ -255,6 +255,8 @@ class DisplayedFields(QAbstractListModel): # {{{
|
||||
name = self.db.field_metadata[field]['name']
|
||||
except:
|
||||
pass
|
||||
if field == 'path':
|
||||
name = _('Folders/path')
|
||||
if not name:
|
||||
return field
|
||||
return f'{name} ({field})'
|
||||
|
Loading…
x
Reference in New Issue
Block a user