|
|
@ -407,7 +407,7 @@ class TrackEditor(QtWidgets.QWidget): |
|
|
|
if trackExportObject["hiddenPosition"] is None: |
|
|
|
visibleTracks.append(trackExportObject) |
|
|
|
|
|
|
|
numberOfTracks = trackExportObject["index"]+1 |
|
|
|
numberOfTracks = len(listOfStaticTrackRepresentations) #All tracks, not only the visible ones |
|
|
|
self.addTrackButton.setText(translate("trackEditorPythonFile", "Add new Track (currently: ") + str(numberOfTracks) + ")") |
|
|
|
self.addTenTracksButton.setText(translate("trackEditorPythonFile", "Add 10 new Tracks (currently: ") + str(numberOfTracks) + ")") |
|
|
|
|
|
|
|