Skip to content

Commit

Permalink
typo caused disabling merge confirmation dialog to not work
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jul 6, 2024
1 parent ce76309 commit d01c4c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/calibre/gui2/dialogs/confirm_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,8 @@ def sizeHint(self):


def confirm_merge(msg, name, parent, mi, ask_about_save_alternate_cover=False):
config_set = dynamic
if not config_set.get(confirm_config_name(name), True):
True, bool(gprefs.get('choose-merge-cb-save_alternate_cover', False))
if not dynamic.get(confirm_config_name(name), True):
return True, bool(gprefs.get('choose-merge-cb-save_alternate_cover', False))
d = ConfirmMerge(msg, name, parent, mi, ask_about_save_alternate_cover)
return d.exec() == QDialog.DialogCode.Accepted, d.save_alternate_cover_cb.isChecked()

Expand Down

0 comments on commit d01c4c0

Please sign in to comment.