SomberNight 7 years ago
parent
commit
3ce8bd4d8f
  1. 2
      gui/qt/history_list.py

2
gui/qt/history_list.py

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

Loading…
Cancel
Save