mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1454411 [Bulk edit metadata date field pull down menu](https://bugs.launchpad.net/calibre/+bug/1454411)
This commit is contained in:
parent
34a4c13284
commit
c90d3738c0
@ -352,6 +352,8 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
|
|||||||
self.pubdate.dateTimeChanged.connect(self.do_apply_pubdate)
|
self.pubdate.dateTimeChanged.connect(self.do_apply_pubdate)
|
||||||
self.adddate.setDateTime(QDateTime.currentDateTime())
|
self.adddate.setDateTime(QDateTime.currentDateTime())
|
||||||
self.adddate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
self.adddate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||||
|
self.adddate_cw = CalendarWidget(self.adddate)
|
||||||
|
self.adddate.setCalendarWidget(self.adddate_cw)
|
||||||
adddate_format = tweaks['gui_timestamp_display_format']
|
adddate_format = tweaks['gui_timestamp_display_format']
|
||||||
if adddate_format is not None:
|
if adddate_format is not None:
|
||||||
self.adddate.setDisplayFormat(adddate_format)
|
self.adddate.setDisplayFormat(adddate_format)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user