mark session dirty when markers/ranges are changed

This commit is contained in:
Paul Davis 2015-05-08 12:20:25 -04:00
parent 4235367acd
commit 43f45ed0b0

View file

@ -1604,6 +1604,15 @@ Session::location_added (Location *location)
_session_range_location = location;
}
if (location->is_mark()) {
/* listen for per-location signals that require us to do any * global updates for marks */
location->StartChanged.connect_same_thread (skip_update_connections, boost::bind (&Session::update_marks, this, location));
location->EndChanged.connect_same_thread (skip_update_connections, boost::bind (&Session::update_marks, this, location));
location->Changed.connect_same_thread (skip_update_connections, boost::bind (&Session::update_marks, this, location));
location->FlagsChanged.connect_same_thread (skip_update_connections, boost::bind (&Session::update_marks, this, location));
}
if (location->is_skip()) {
/* listen for per-location signals that require us to update skip-locate events */