Hi
When adding a new audio track to an Edit
using the Edit::insertNewAudioTrack
method and supplying a SelectionManger
it ends up calling sm->addToSelection (newTrack)
(tracktion_Edit.cpp:1672).
I was thinking the most expected behaviour would be to just select the new track (which is also what happens in Waveform).
For now, if I have a track selected and add a new one, both will be selected afterwards. Is there reason for this or could it be changed to sm->selectOnly (newTrack)
?
It’s so when you create multiple tracks, they all get selected. If you only want the newly created tracks selected, clear the selection before adding tracks.
Ah, of course.
Thanks!