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:
Robin Gareus 2019-08-30 22:56:07 +02:00
parent f44a436f70
commit 244df67800
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 7 additions and 4 deletions

View File

@ -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 ();