mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add view/edit context-menu to formats in editmetadata. Save by default.
This commit is contained in:
parent
dfaecefed0
commit
b1eedf9f40
@ -365,7 +365,7 @@ class MetadataSingleDialogBase(QDialog):
|
|||||||
" You need to save your changes for them to be included."),
|
" You need to save your changes for them to be included."),
|
||||||
yes_text=_('&Save'), no_text=_("&Don't Save"),
|
yes_text=_('&Save'), no_text=_("&Don't Save"),
|
||||||
yes_icon='dot_green.png', no_icon='dot_red.png',
|
yes_icon='dot_green.png', no_icon='dot_red.png',
|
||||||
default_yes=False, skip_dialog_name='edit-metadata-save-before-edit-format'):
|
default_yes=True, skip_dialog_name='edit-metadata-save-before-edit-format'):
|
||||||
if self.apply_changes():
|
if self.apply_changes():
|
||||||
self.was_data_edited = False
|
self.was_data_edited = False
|
||||||
self.edit_format.emit(self.book_id, fmt)
|
self.edit_format.emit(self.book_id, fmt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user