mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a regression in the previous release that broke the remove specific format from book action
This commit is contained in:
parent
a32750b4be
commit
e1ab06f9b8
@ -186,7 +186,7 @@ class DeleteAction(InterfaceAction):
|
|||||||
'%(title)s. Are you sure?')%dict(fmt=fmt, title=title)) +
|
'%(title)s. Are you sure?')%dict(fmt=fmt, title=title)) +
|
||||||
'</p>', 'library_delete_specific_format', self.gui):
|
'</p>', 'library_delete_specific_format', self.gui):
|
||||||
return
|
return
|
||||||
self._remove_format_from_ids((fmt,), (book_id,))
|
self._remove_formats_from_ids((fmt,), (book_id,))
|
||||||
|
|
||||||
def remove_format_from_selected_books(self, fmt):
|
def remove_format_from_selected_books(self, fmt):
|
||||||
ids = self._get_selected_ids()
|
ids = self._get_selected_ids()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user