From c7a250a849db7b67dd28e8c5800cb2434d640782 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Wed, 9 Nov 2022 10:13:05 +0000 Subject: [PATCH] [Bug 1996020]: Bulk Metadata Editor: Inconsistency on 'Clear' button Clicking clear on DateTime setting the apply box is wrong. Fixed. --- src/calibre/gui2/custom_column_widgets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index ab59783f24..a3c73d7cbc 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -327,7 +327,6 @@ class DateTimeEdit(DateTimeEditBase): self.setDateTime(now()) def set_to_clear(self): - self.setDateTime(now()) self.setDateTime(UNDEFINED_QDATETIME)