mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 04:23:00 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -352,6 +352,8 @@ def __init__(self, window, rows, model, tab, refresh_books):
|
|||
self.pubdate.dateTimeChanged.connect(self.do_apply_pubdate)
|
||||
self.adddate.setDateTime(QDateTime.currentDateTime())
|
||||
self.adddate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.adddate_cw = CalendarWidget(self.adddate)
|
||||
self.adddate.setCalendarWidget(self.adddate_cw)
|
||||
adddate_format = tweaks['gui_timestamp_display_format']
|
||||
if adddate_format is not None:
|
||||
self.adddate.setDisplayFormat(adddate_format)
|
||||
|
|
|
|||
Loading…
Reference in a new issue