summaryrefslogtreecommitdiff
path: root/libs/ardour/location.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-03 13:31:49 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:13 -0400
commita47cacfcc6213674ac5e8b40474f5a513c4e99e9 (patch)
tree08e9969fbf9493f10d6c7814575874f0de5ac6cd /libs/ardour/location.cc
parent8367b7cab344e75908744a95fda860c7fadff420 (diff)
add signal to indicate absence of removal of scene change from Location
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r--libs/ardour/location.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc
index 73978ae15c..9d7e7c3e57 100644
--- a/libs/ardour/location.cc
+++ b/libs/ardour/location.cc
@@ -759,9 +759,12 @@ Location::unlock ()
void
Location::set_scene_change (boost::shared_ptr<SceneChange> sc)
{
- _scene_change = sc;
-
- scene_changed (); /* EMIT SIGNAL */
+ if (_scene_change != sc) {
+ _scene_change = sc;
+
+ scene_changed (); /* EMIT SIGNAL */
+ SceneChangeChanged (); /* EMIT SIGNAL */
+ }
}
/*---------------------------------------------------------------------- */