Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't recalculate the song length for every added TCO while loading (L…
…MMS#5236) Don't make LMMS calculate the song length for every added TCO when a new project is created or a project is loaded. Instead do it only once afterwards. This is accomplished by preventing any calculations in `Song::updateLength` if a song is currently loaded. `Song::updateLength` is then called immediately after the loading flag has been set to `false` in both cases. --------- Co-authored-by: IanCaio <[email protected]>
- Loading branch information