summaryrefslogtreecommitdiff
path: root/libs/ardour/scene_change.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/scene_change.cc')
-rw-r--r--libs/ardour/scene_change.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/scene_change.cc b/libs/ardour/scene_change.cc
index 6560a7ca2f..322b37a195 100644
--- a/libs/ardour/scene_change.cc
+++ b/libs/ardour/scene_change.cc
@@ -41,6 +41,7 @@ SceneChange::factory (const XMLNode& node, int version)
SceneChange::SceneChange ()
: _color (out_of_bound_color)
+ , _active (true)
{
}
@@ -56,3 +57,12 @@ SceneChange::color() const
{
return _color;
}
+
+void
+SceneChange::set_active (bool yn)
+{
+ if (_active != yn) {
+ _active = yn;
+ ActiveChanged (); /* EMIT SIGNAL */
+ }
+}