Browse Source

Set gui scale in metaDataChanged callback so ensure the correct one is shown

master
Nils 9 months ago
parent
commit
2237fed502
  1. 5
      qtgui/pattern_grid.py

5
qtgui/pattern_grid.py

@ -265,6 +265,11 @@ class PatternGrid(QtWidgets.QGraphicsScene):
self._tracks[exportDict["id"]] = exportDict
self.scale.buildScale(exportDict["numberOfSteps"])
self.scale.setScale(exportDict["scale"])
self.scale.setNoteNames(exportDict["simpleNoteNames"])
if force or self.parentView.parentMainWindow.currentTrackId == exportDict["id"]:
self.trackName.setText(exportDict["sequencerInterface"]["name"])
self.trackName.show()

Loading…
Cancel
Save