mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use approx_formats when creating the formats column
Have the template used for the formats column when clicking the Formats shortcut in the create columns dialog use approximate_formats() instead of formats.
This commit is contained in:
parent
601f6e87db
commit
508c8ea6d1
@ -183,7 +183,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
|
||||
self.composite_box.setText(
|
||||
{
|
||||
'isbn': '{identifiers:select(isbn)}',
|
||||
'formats': '{formats}',
|
||||
'formats': "{:'approximate_formats()'}",
|
||||
}[which])
|
||||
self.composite_sort_by.setCurrentIndex(0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user