diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 02:04:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 02:04:09 +0000 |
commit | 06b52150badcb85a542cc863f25c6771f2853050 (patch) | |
tree | 368eb3ff3744a5db54e9676e2565aef1fc66d793 /libs/ardour/route_group.cc | |
parent | c9012ccbb81765ca0f1706ae15b5d4a3b2070dea (diff) |
send PropertyChange messages when changing RouteGroup properties
git-svn-id: svn://localhost/ardour2/branches/3.0@10922 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r-- | libs/ardour/route_group.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc index d8acefbeed..f97954098e 100644 --- a/libs/ardour/route_group.cc +++ b/libs/ardour/route_group.cc @@ -312,6 +312,7 @@ RouteGroup::set_gain (bool yn) return; } _gain = yn; + send_change (PropertyChange (Properties::gain)); } void @@ -321,6 +322,7 @@ RouteGroup::set_mute (bool yn) return; } _mute = yn; + send_change (PropertyChange (Properties::mute)); } void @@ -330,6 +332,7 @@ RouteGroup::set_solo (bool yn) return; } _solo = yn; + send_change (PropertyChange (Properties::solo)); } void @@ -339,6 +342,7 @@ RouteGroup::set_recenable (bool yn) return; } _recenable = yn; + send_change (PropertyChange (Properties::recenable)); } void @@ -348,6 +352,7 @@ RouteGroup::set_select (bool yn) return; } _select = yn; + send_change (PropertyChange (Properties::select)); } void @@ -366,6 +371,7 @@ RouteGroup::set_route_active (bool yn) return; } _route_active = yn; + send_change (PropertyChange (Properties::active)); } void @@ -376,6 +382,8 @@ RouteGroup::set_color (bool yn) } _color = yn; + send_change (PropertyChange (Properties::color)); + /* This is a bit of a hack, but this might change our route's effective color, so emit gui_changed for our routes. @@ -408,7 +416,6 @@ RouteGroup::set_active (bool yn, void* /*src*/) _active = yn; send_change (PropertyChange (Properties::active)); - _session.set_dirty (); } @@ -419,6 +426,7 @@ RouteGroup::set_relative (bool yn, void* /*src*/) return; } _relative = yn; + send_change (PropertyChange (Properties::relative)); _session.set_dirty (); } |