From a2d37a02b8dbf069313dee33abb906212c879cc5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 21 May 2011 18:44:44 +0000 Subject: [PATCH] Fix problems with restoration of unused playlists (#4052). git-svn-id: svn://localhost/ardour2/branches/3.0@9563 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/playlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index d635819963..bc6e23e451 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -2274,7 +2274,7 @@ Playlist::set_state (const XMLNode& node, int version) _set_sort_id (); } else if (prop->name() == X_("id")) { _id = prop->value(); - } else if (prop->name() == X_("orig_diskstream_id")) { + } else if (prop->name() == X_("orig-diskstream-id")) { _orig_diskstream_id = prop->value (); } else if (prop->name() == X_("frozen")) { _frozen = string_is_affirmative (prop->value()); @@ -2379,7 +2379,7 @@ Playlist::state (bool full_state) node->add_property (X_("type"), _type.to_string()); _orig_diskstream_id.print (buf, sizeof (buf)); - node->add_property (X_("orig_diskstream_id"), buf); + node->add_property (X_("orig-diskstream-id"), buf); node->add_property (X_("frozen"), _frozen ? "yes" : "no"); if (full_state) {