fix name and duration population

This commit is contained in:
Jakub Jezek 2021-10-27 17:53:34 +02:00
parent 6700b0896d
commit 1532b9caab
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -136,13 +136,13 @@ def main_window(selection):
for segment in tracks.segments:
# Add timeline segment to tree
QtWidgets.QTreeWidgetItem(tree, [
str(sequence.name),
str(segment.name),
str(sequence.name)[1:-1],
str(segment.name)[1:-1],
'Compositing',
'Ready to Start',
'Tape: {} - Duration {}'.format(
segment.tape_name,
str(segment.source_duration)[4:-1]
str(segment.record_duration)[4:-1]
),
str(segment.comment)[1:-1]
]).setFlags(