From 06b52150badcb85a542cc863f25c6771f2853050 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 7 Dec 2011 02:04:09 +0000 Subject: send PropertyChange messages when changing RouteGroup properties git-svn-id: svn://localhost/ardour2/branches/3.0@10922 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route_group.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libs') 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 (); } -- cgit v1.2.3