Browse Source

fix hidden track regression

master
Nils 3 months ago
parent
commit
48c0379cf1
  1. 2
      qtgui/trackEditor.py

2
qtgui/trackEditor.py

@ -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) + ")")

Loading…
Cancel
Save