Browse Source

fix delete track regression

master
Nils 4 years ago
parent
commit
99777161d7
  1. 9
      template/engine/sequencer.py

9
template/engine/sequencer.py

@ -369,7 +369,14 @@ class SequencerInterface(_Interface): #Basically the midi part of a track.
undo. That is why we bother setting calfboxTrack to None
again.
"""
portlist = cbox.JackIO.get_connected_ports(self.cboxPortName())
if not self.calfboxTrack: #maybe non-template part deactivated it, like Patroneo groups
return
try:
portlist = cbox.JackIO.get_connected_ports(self.cboxPortName())
except: #port not found.
portlist = []
self._beforeDeleteThisJackMidiWasConnectedTo = portlist
self.calfboxTrack.set_external_output("")

Loading…
Cancel
Save