Fix mixer-side-bar show/hide actions
Changes need to be propagated to the Stripable's PresentationInfo. So far this was not done for batch-changes using the mixer's left side-bar "Show all", "Hide all" actions. They remained local to the mixer and were not persistent.
This commit is contained in:
parent
f44a436f70
commit
244df67800
|
@ -1204,9 +1204,7 @@ Mixer_UI::update_track_visibility ()
|
|||
(*i)[stripable_columns.visible] = av->marked_for_display ();
|
||||
}
|
||||
|
||||
/* force presentation catch up with visibility changes
|
||||
*/
|
||||
|
||||
/* force presentation to catch up with visibility changes */
|
||||
sync_presentation_info_from_treeview ();
|
||||
}
|
||||
|
||||
|
@ -1299,12 +1297,14 @@ Mixer_UI::set_all_strips_visibility (bool yn)
|
|||
|
||||
(*i)[stripable_columns.visible] = yn;
|
||||
}
|
||||
|
||||
/* force presentation to catch up with visibility changes */
|
||||
sync_presentation_info_from_treeview ();
|
||||
}
|
||||
|
||||
redisplay_track_list ();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Mixer_UI::set_all_audio_midi_visibility (int tracks, bool yn)
|
||||
{
|
||||
|
@ -1354,6 +1354,9 @@ Mixer_UI::set_all_audio_midi_visibility (int tracks, bool yn)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* force presentation to catch up with visibility changes */
|
||||
sync_presentation_info_from_treeview ();
|
||||
}
|
||||
|
||||
redisplay_track_list ();
|
||||
|
|
Loading…
Reference in New Issue