mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:53:51 +02:00
...
This commit is contained in:
parent
d14486089e
commit
8650823670
1 changed files with 0 additions and 2 deletions
|
|
@ -423,8 +423,6 @@ def setEditorData(self, editor, index):
|
|||
elif check_key_modifier(Qt.ShiftModifier + Qt.ControlModifier):
|
||||
val = now()
|
||||
else:
|
||||
# db col is not named for the field, but for the table number. To get it,
|
||||
# gui column -> column label -> table number -> db column
|
||||
val = index.data(Qt.EditRole)
|
||||
if is_date_undefined(val):
|
||||
val = now()
|
||||
|
|
|
|||
Loading…
Reference in a new issue