Content changes should mark the film dirty (#1810).
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2020 09:55:56 +0000 (11:55 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2020 09:55:56 +0000 (11:55 +0200)
src/lib/film.cc

index cf7d04933f47dffafab2e56dbda3479c0ebb421a..867944689a029189e1b481a4ca57e7b5406fc0a8 100644 (file)
@@ -1377,6 +1377,8 @@ Film::playlist_content_change (ChangeType type, weak_ptr<Content> c, int p, bool
        } else {
                ContentChange (type, c, p, frequent);
        }
        } else {
                ContentChange (type, c, p, frequent);
        }
+
+       _dirty = true;
 }
 
 void
 }
 
 void
@@ -1394,6 +1396,8 @@ Film::playlist_change (ChangeType type)
        if (type == CHANGE_TYPE_DONE) {
                check_settings_consistency ();
        }
        if (type == CHANGE_TYPE_DONE) {
                check_settings_consistency ();
        }
+
+       _dirty = true;
 }
 
 /** Check for (and if necessary fix) impossible settings combinations, like
 }
 
 /** Check for (and if necessary fix) impossible settings combinations, like