Remove ifstream / ofstream when accessing session template files (or creating a new...
[ardour.git] / libs / ardour / diskstream.cc
index 91859e76a34b2c5168aff9ef743641ac61394418..f2da7982fe5e002e8748f1933e2e9c344f58eb1f 100644 (file)
@@ -386,6 +386,7 @@ Diskstream::use_playlist (boost::shared_ptr<Playlist> playlist)
                }
 
                _playlist->ContentsChanged.connect_same_thread (playlist_connections, boost::bind (&Diskstream::playlist_modified, this));
+               _playlist->LayeringChanged.connect_same_thread (playlist_connections, boost::bind (&Diskstream::playlist_modified, this));
                _playlist->DropReferences.connect_same_thread (playlist_connections, boost::bind (&Diskstream::playlist_deleted, this, boost::weak_ptr<Playlist>(_playlist)));
                _playlist->RangesMoved.connect_same_thread (playlist_connections, boost::bind (&Diskstream::playlist_ranges_moved, this, _1, _2));
        }