|
@ -136,6 +136,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): |
|
|
vbox.addLayout(Buttons(OkButton(d), CancelButton(d))) |
|
|
vbox.addLayout(Buttons(OkButton(d), CancelButton(d))) |
|
|
d.setLayout(vbox) |
|
|
d.setLayout(vbox) |
|
|
if d.exec_(): |
|
|
if d.exec_(): |
|
|
|
|
|
if d.date is None: |
|
|
|
|
|
return None |
|
|
button.setText(d.date.toString()) |
|
|
button.setText(d.date.toString()) |
|
|
return time.mktime(d.date.toPyDate().timetuple()) |
|
|
return time.mktime(d.date.toPyDate().timetuple()) |
|
|
|
|
|
|
|
|