notify when route group/group tab color changes
git-svn-id: svn://localhost/ardour2/branches/3.0@10912 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
946dc070f8
commit
78db8a9445
@ -544,6 +544,12 @@ GroupTabs::set_group_color (RouteGroup* group, Gdk::Color color)
|
|||||||
snprintf (buf, sizeof (buf), "%d:%d:%d", color.get_red(), color.get_green(), color.get_blue());
|
snprintf (buf, sizeof (buf), "%d:%d:%d", color.get_red(), color.get_green(), color.get_blue());
|
||||||
gui_state.set (group_gui_id (group), "color", buf);
|
gui_state.set (group_gui_id (group), "color", buf);
|
||||||
|
|
||||||
|
/* the group color change notification */
|
||||||
|
|
||||||
|
PBD::PropertyChange change;
|
||||||
|
change.add (Properties::color);
|
||||||
|
group->PropertyChanged (change);
|
||||||
|
|
||||||
/* This is a bit of a hack, but this might change
|
/* This is a bit of a hack, but this might change
|
||||||
our route's effective color, so emit gui_changed
|
our route's effective color, so emit gui_changed
|
||||||
for our routes.
|
for our routes.
|
||||||
|
Loading…
Reference in New Issue
Block a user