X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fplaylist.cc;h=3bc5f57577d7349d0647880245adf7d05dfd67d9;hb=cfe9ae636e0ee61cafdff43b3bd6967d835ef629;hp=6fad2084e4e267ae370f0fba2ee562f19179c666;hpb=cd17e05e3a22614387050736c89a4727c4da0d61;p=ardour.git diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 6fad2084e4..3bc5f57577 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -185,7 +185,6 @@ Playlist::Playlist (boost::shared_ptr other, string namestr, boo in_flush = false; in_partition = false; subcnt = 0; - _read_data_count = 0; _frozen = other->_frozen; layer_op_counter = other->layer_op_counter; @@ -319,7 +318,6 @@ Playlist::init (bool hide) in_flush = false; in_partition = false; subcnt = 0; - _read_data_count = 0; _frozen = false; layer_op_counter = 0; freeze_length = 0; @@ -2213,6 +2211,8 @@ Playlist::flush_notifications (bool from_undo) plist = node.properties(); + set_id (node); + for (piter = plist.begin(); piter != plist.end(); ++piter) { prop = *piter; @@ -2220,8 +2220,6 @@ Playlist::flush_notifications (bool from_undo) if (prop->name() == X_("name")) { _name = prop->value(); _set_sort_id (); - } else if (prop->name() == X_("id")) { - _id = prop->value(); } else if (prop->name() == X_("orig-diskstream-id")) { _orig_diskstream_id = prop->value (); } else if (prop->name() == X_("frozen")) {