This removes previous hard-coding which assumed the user always wanted a video track. The track type in the dialog will be determined based on the currently selected track. The proposed track name will then be determined based on the track type.
Details
Details
Diff Detail
Diff Detail
- Repository
- R158 Kdenlive
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Thanks for this contribution. I integrated it in the refactoring_timeline branch in a simpler form - we don't use track names anymore. There is just a minor issue with translations I think.
src/timeline/customtrackview.cpp | ||
---|---|---|
7045 | I don't think this will work for translations. It would be better to define a boolean, like: isVideoTrack, set to true if m_timeline->getTrackInfo(ix).type == VideoTrack. Then in the while loop: |