mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Metadata review dialog: Show a confirmation for the "Reject all remaining" button. Fixes #1404386 [Reject All Remaining - Confirmation box please!](https://bugs.launchpad.net/calibre/+bug/1404386)
This commit is contained in:
parent
e1d7ce455b
commit
c7b18b6373
@ -622,6 +622,9 @@ class CompareMany(QDialog):
|
||||
self.accept()
|
||||
|
||||
def reject_all_remaining(self):
|
||||
from calibre.gui2.dialogs.confirm_delete import confirm
|
||||
if not confirm(_('Are you sure you want to reject all %d remaining results?') % len(self.ids), 'confirm_metadata_review_reject', parent=self):
|
||||
return
|
||||
self.next_item(False)
|
||||
for id_ in self.ids:
|
||||
oldmi, newmi = self.get_metadata(id_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user