Also reset confirms in the editor

This commit is contained in:
Kovid Goyal 2025-09-24 14:05:45 +05:30
parent 037394740f
commit a683a27377
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -180,8 +180,9 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
# }}}
def reset_confirmation_dialogs(self, *args):
from calibre.gui2.tweak_book import tprefs
from calibre.gui2.viewer.config import vprefs
for confloc in (dynamic, vprefs):
for confloc in (dynamic, vprefs, tprefs):
for key in confloc.keys():
if key.endswith('_again') and confloc[key] is False:
confloc[key] = True