mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression that broke calibre starting when using a custom date column
This commit is contained in:
parent
409aac87dd
commit
e3c295f252
@ -438,7 +438,7 @@ class CcDateDelegate(QStyledItemDelegate, UpdateEditorGeometry): # {{{
|
|||||||
elif _format == 'iso':
|
elif _format == 'iso':
|
||||||
self.format = internal_iso_format_string()
|
self.format = internal_iso_format_string()
|
||||||
else:
|
else:
|
||||||
self.format = format
|
self.format = _format
|
||||||
|
|
||||||
def displayText(self, val, locale):
|
def displayText(self, val, locale):
|
||||||
d = qt_to_dt(val)
|
d = qt_to_dt(val)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user