Missing set of _dirty when content changes.
authorCarl Hetherington <cth@carlh.net>
Tue, 28 Jul 2015 15:17:59 +0000 (16:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 Jul 2015 15:17:59 +0000 (16:17 +0100)
ChangeLog
src/lib/film.cc

index 3e95cb3853fcedd462a9c5e222cee2984593cee7..b0d7898dce883bb00613ac2e417f45b86ddb37b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-07-28  c.hetherington  <cth@carlh.net>
 
+       * Notice when content is modified and offer to save the project
+       on closing DCP-o-matic.
+
        * Recognise .w64 and .flac as audio files.
 
 2015-07-27  Carl Hetherington  <cth@carlh.net>
index f87764da0c2d3300a4b2df6191d669cb6d970440..e935e76bca5e9146940f4af0336c27e42a75c4b1 100644 (file)
@@ -998,6 +998,8 @@ Film::active_frame_rate_change (DCPTime t) const
 void
 Film::playlist_content_changed (boost::weak_ptr<Content> c, int p, bool frequent)
 {
+       _dirty = true;
+
        if (p == VideoContentProperty::VIDEO_FRAME_RATE) {
                set_video_frame_rate (_playlist->best_dcp_frame_rate ());
        } else if (p == AudioContentProperty::AUDIO_STREAMS) {