mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1884399 [Week number only appears on date selector in Bulk Metadata Edit window](https://bugs.launchpad.net/calibre/+bug/1884399)
This commit is contained in:
commit
a0c70dd6d6
@ -505,6 +505,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
|||||||
self.autonumber_series.stateChanged[int].connect(self.auto_number_changed)
|
self.autonumber_series.stateChanged[int].connect(self.auto_number_changed)
|
||||||
self.pubdate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
self.pubdate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||||
self.pubdate_cw = CalendarWidget(self.pubdate)
|
self.pubdate_cw = CalendarWidget(self.pubdate)
|
||||||
|
self.pubdate_cw.setVerticalHeaderFormat(self.pubdate_cw.NoVerticalHeader)
|
||||||
self.pubdate.setCalendarWidget(self.pubdate_cw)
|
self.pubdate.setCalendarWidget(self.pubdate_cw)
|
||||||
pubdate_format = tweaks['gui_pubdate_display_format']
|
pubdate_format = tweaks['gui_pubdate_display_format']
|
||||||
if pubdate_format == 'iso':
|
if pubdate_format == 'iso':
|
||||||
@ -517,6 +518,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
|||||||
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_cw = CalendarWidget(self.adddate)
|
||||||
|
self.adddate_cw.setVerticalHeaderFormat(self.adddate_cw.NoVerticalHeader)
|
||||||
self.adddate.setCalendarWidget(self.adddate_cw)
|
self.adddate.setCalendarWidget(self.adddate_cw)
|
||||||
adddate_format = tweaks['gui_timestamp_display_format']
|
adddate_format = tweaks['gui_timestamp_display_format']
|
||||||
if adddate_format == 'iso':
|
if adddate_format == 'iso':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user