mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-12 00:37:05 -04:00
This bug was noticed when testing out #7559, but the PR had been open for over a year, so it was decided to merge it and fix it in this one. Basically, when adding or removing a track, the TrackContainer sends out signals such as trackAdded or trackRemoved which PatternClipView uses to know when to update. However, it does not send out a signal when a track has been moved. This is because for some reason, it's done by the GUI TrackContainerView instead of the core TrackContainer. This PR changes that by moving the core code to the core where it probably belongs, adding an appropriate trackMoved signal to TrackContainer, and connecting that to PatternClipView to update properly. --------- Co-authored-by: Fawn <rubiefawn@gmail.com>