diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-09-10 15:03:30 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-09-10 15:03:30 +0000 |
commit | 68e943265edf04e63a8e8b8f62bab20f99d9c637 (patch) | |
tree | ff8941a59662fc0c4622944b65f7b2d5e3bdd0c3 /libs/ardour/location.cc | |
parent | e4372df05b7d74a6b80dbbf4b6c00cc2b31c4723 (diff) |
merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r-- | libs/ardour/location.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index 0da75810ca..3654e03a9d 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -100,6 +100,7 @@ Location::set_start (nframes_t s) _end = s; start_changed(this); /* EMIT SIGNAL */ + end_changed(this); /* EMIT SIGNAL */ if ( is_start() ) { @@ -137,7 +138,17 @@ Location::set_end (nframes_t e) if (_start != e) { _start = e; _end = e; + start_changed(this); /* EMIT SIGNAL */ end_changed(this); /* EMIT SIGNAL */ + + if ( is_start() ) { + Session::StartTimeChanged (); /* EMIT SIGNAL */ + } + + if ( is_end() ) { + Session::EndTimeChanged (); /* EMIT SIGNAL */ + } + } return 0; } |