mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-08 11:11:51 +00:00
GUI: merge: set default track column to »no« for disabled tracks
Other columns like e.g. the language aren't set to empty when a track is disabled either. So let's be consistent here. See #1353.
This commit is contained in:
parent
feff8a2bdb
commit
e2f88798ab
@ -614,7 +614,10 @@ TrackModel::updateEffectiveDefaultTrackFlags() {
|
||||
// Step one: reset all flags to undefined. Do this for all tracks,
|
||||
// not just for regular & enabled ones.
|
||||
for (auto &track : *m_tracks)
|
||||
track->m_effectiveDefaultTrackFlag = boost::none;
|
||||
if (track->m_muxThis)
|
||||
track->m_effectiveDefaultTrackFlag = boost::none;
|
||||
else
|
||||
track->m_effectiveDefaultTrackFlag = false;
|
||||
|
||||
// Step two: check for explicitly set flags (set to yes/no). These
|
||||
// take precedence over everything else.
|
||||
|
Loading…
Reference in New Issue
Block a user