mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
mark session dirty when markers/ranges are changed
This commit is contained in:
parent
4235367acd
commit
43f45ed0b0
1 changed files with 10 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue