diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-09 22:04:26 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2016-09-11 21:24:56 +1000 |
commit | f91e591f40cfe1a2634aff48045c32fbbf24c43a (patch) | |
tree | 9719f8bcfad9ee37b61ce86d2f640911aeacb827 | |
parent | dab6e8a2d33b7ab6127d3916d253f2c41b51b6a0 (diff) |
Fix #6774, Moving start/end markers doesn't set Session as modified/dirty
If a Session is saved and then the start or end session markers are moved,
closing the Session will not result in "Unsaved Session" dialog being presented
even though the Session has been modified. This change sets the Session as
modified when either the Session start or end markers are modified.
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 9fd3539dae..adaa3ccc84 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -6367,6 +6367,7 @@ Session::start_time_changed (framepos_t old) if (l && l->start() == old) { l->set_start (s->start(), true); } + set_dirty (); } void @@ -6386,6 +6387,7 @@ Session::end_time_changed (framepos_t old) if (l && l->end() == old) { l->set_end (s->end(), true); } + set_dirty (); } std::vector<std::string> |