Fix the fix to #4431; make overrides to visibility actually
authorCarl Hetherington <carl@carlh.net>
Thu, 3 Nov 2011 16:52:53 +0000 (16:52 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 3 Nov 2011 16:52:53 +0000 (16:52 +0000)
work.

git-svn-id: svn://localhost/ardour2/branches/3.0@10426 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/visibility_group.cc

index 69afed9814045e0e8150f42cf5435636a179d7f8..a7098f57d6b4b766d7e9edf8599f7bdb6a5037e2 100644 (file)
@@ -95,7 +95,7 @@ VisibilityGroup::should_actually_be_visible (Member const & m) const
        if (m.override) {
                boost::optional<bool> o = m.override ();
                if (o) {
-                       return o;
+                       return o.get ();
                }
        }