self.tracks={}#id:trackWidget. As any dict, not in order
#Add Track Button
@ -410,6 +411,13 @@ class TrackEditor(QtWidgets.QWidget):
w=self.tracks[visibleTracks[0]["id"]]
w.ui.deleteButton.setEnabled(False)#it is not possible to delete the only visible track. The backend will prevent it but we don't even offer the choice here.