X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmainundo.C;h=520bc2ee729a876e5c7b68c4b3213c409fb45ad3;hb=4c207ab325a8e8e6b79a9a18d4647273b5f59f93;hp=ba9b6c337ed85ca1e1a8a824cc41add662e27783;hpb=3abbd84aa85907d646b13c98295ce778d2a71215;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mainundo.C b/cinelerra-5.1/cinelerra/mainundo.C index ba9b6c33..520bc2ee 100644 --- a/cinelerra-5.1/cinelerra/mainundo.C +++ b/cinelerra-5.1/cinelerra/mainundo.C @@ -267,11 +267,11 @@ int MainUndo::load_from_undo(FileXML *file, uint32_t load_flags) } mwindow->edl->load_xml(file, load_flags); for( Asset *asset=mwindow->edl->assets->first; asset; asset=asset->next ) { - mwindow->mainindexes->add_next_asset(0, asset); + mwindow->mainindexes->add_indexable(asset); } for( int i=0; iedl->nested_edls.size(); ++i ) { EDL *nested_edl = mwindow->edl->nested_edls[i]; - mwindow->mainindexes->add_next_asset(0, nested_edl); + mwindow->mainindexes->add_indexable(nested_edl); } mwindow->mainindexes->start_build(); mwindow->update_plugin_guis(1);