|
|
@ -393,7 +393,10 @@ class TrackEditor(QtWidgets.QWidget): |
|
|
|
widget = TrackWidget(self, trackExportObject) |
|
|
|
self.tracks[trackExportObject["id"]] = widget |
|
|
|
self.layout.insertWidget(-1, widget) |
|
|
|
widget.setTitle(f'Track {trackExportObject["index"]+1} - id: {trackExportObject["id"]}') |
|
|
|
if trackExportObject["index"]: #track visible? |
|
|
|
widget.setTitle(f'Track {trackExportObject["index"]+1} - id: {trackExportObject["id"]}') |
|
|
|
else: |
|
|
|
widget.setTitle(f'Track id: {trackExportObject["id"]}') |
|
|
|
else: |
|
|
|
leftOver.remove(trackExportObject["id"]) |
|
|
|
|
|
|
|