mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 08:16:48 +01:00
More stupid PyQt enums
This commit is contained in:
parent
1a3ca21b18
commit
a44a4a9041
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ def __init__(self, parent=None):
|
|||
self.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.setCalendarPopup(True)
|
||||
self.cw = CalendarWidget(self)
|
||||
self.cw.setVerticalHeaderFormat(self.cw.NoVerticalHeader)
|
||||
self.cw.setVerticalHeaderFormat(QCalendarWidget.VerticalHeaderFormat.NoVerticalHeader)
|
||||
self.setCalendarWidget(self.cw)
|
||||
self.setSpecialValueText(_('Undefined'))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue