mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2080628 [Saving cover to extra files doesn't update count in MDE](https://bugs.launchpad.net/calibre/+bug/2080628)
This commit is contained in:
parent
1808e6118d
commit
dd7f55b0d0
@ -611,6 +611,7 @@ class MetadataSingleDialogBase(QDialog):
|
||||
if d.cover_pixmap is not None:
|
||||
self.metadata_before_fetch['cover'] = self.cover.current_val
|
||||
self.cover.current_val = pixmap_to_data(d.cover_pixmap)
|
||||
self.update_data_files_button()
|
||||
|
||||
def undo_fetch_metadata(self):
|
||||
if self.metadata_before_fetch is None:
|
||||
@ -636,6 +637,7 @@ class MetadataSingleDialogBase(QDialog):
|
||||
if ret == QDialog.DialogCode.Accepted:
|
||||
if d.cover_pixmap is not None:
|
||||
self.cover.current_val = pixmap_to_data(d.cover_pixmap)
|
||||
self.update_data_files_button()
|
||||
|
||||
# }}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user