diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-21 16:58:57 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-21 16:58:57 +0000 |
commit | 7a29763ba71cd9f1ed01ec50aeef80c2756739d3 (patch) | |
tree | 23a654e6d187aaef2483b259d22f540bcbf77033 /gtk2_ardour/mixer_group_tabs.cc | |
parent | 19dd9c529cc9d8db47627274910d849d87bb160a (diff) |
Fix glitch in group tabs when hiding groups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5234 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_group_tabs.cc')
-rw-r--r-- | gtk2_ardour/mixer_group_tabs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_group_tabs.cc b/gtk2_ardour/mixer_group_tabs.cc index d0e58db47a..a79aa45b28 100644 --- a/gtk2_ardour/mixer_group_tabs.cc +++ b/gtk2_ardour/mixer_group_tabs.cc @@ -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) { |