mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix [Bug 1190463] [NEW] Bulk Edit - Clear Custom Date Columns.
Problem arose because Qt doesn't emit a changed signal if you set the widgets value to what it currently contains.
This commit is contained in:
parent
051e27bad4
commit
147e1cbd70
@ -156,6 +156,7 @@ class DateTimeEdit(QDateTimeEdit):
|
||||
self.setDateTime(now())
|
||||
|
||||
def set_to_clear(self):
|
||||
self.setDateTime(now())
|
||||
self.setDateTime(UNDEFINED_QDATETIME)
|
||||
|
||||
def keyPressEvent(self, ev):
|
||||
|
Loading…
x
Reference in New Issue
Block a user