Fix glitch in group tabs when hiding groups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5234 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -68,10 +68,10 @@ MixerGroupTabs::render (cairo_t* cr)
|
||||
int32_t x = 0;
|
||||
for (list<MixerStrip*>::iterator i = _mixer->strips.begin(); i != _mixer->strips.end(); ++i) {
|
||||
|
||||
if ((*i)->route()->is_master() || (*i)->route()->is_control()) {
|
||||
if ((*i)->route()->is_master() || (*i)->route()->is_control() || !(*i)->marked_for_display()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
RouteGroup* g = (*i)->mix_group ();
|
||||
|
||||
if (g != curr_group) {
|
||||
|
||||
@@ -758,6 +758,8 @@ Mixer_UI::redisplay_track_list ()
|
||||
|
||||
} else {
|
||||
|
||||
strip->set_marked_for_display (false);
|
||||
|
||||
if (strip->route()->is_master() || strip->route()->is_control()) {
|
||||
/* do nothing, these cannot be hidden */
|
||||
} else {
|
||||
@@ -1261,7 +1263,6 @@ Mixer_UI::mix_group_row_change (const Gtk::TreeModel::Path& path,const Gtk::Tree
|
||||
|
||||
void
|
||||
Mixer_UI::add_mix_group (RouteGroup* group)
|
||||
|
||||
{
|
||||
ENSURE_GUI_THREAD(bind (mem_fun(*this, &Mixer_UI::add_mix_group), group));
|
||||
bool focus = false;
|
||||
|
||||
Reference in New Issue
Block a user