diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc index e2c5b1352e..74f17c17e5 100644 --- a/libs/ardour/import.cc +++ b/libs/ardour/import.cc @@ -641,10 +641,6 @@ Session::import_files (ImportStatus& status) } } - /* save state so that we don't lose these new Sources */ - - save_state (_name); - std::copy (all_new_sources.begin(), all_new_sources.end(), std::back_inserter(status.sources)); } else { try { @@ -657,4 +653,3 @@ Session::import_files (ImportStatus& status) status.done = true; } - diff --git a/libs/ardour/import_pt.cc b/libs/ardour/import_pt.cc index b881b90efe..8e9194d1a9 100644 --- a/libs/ardour/import_pt.cc +++ b/libs/ardour/import_pt.cc @@ -269,8 +269,6 @@ Session::import_pt (PTFFormat& ptf, ImportStatus& status) info << _("All audio files found for PT import!") << endmsg; } - save_state(""); - for (vector::const_iterator a = ptf.regions ().begin (); a != ptf.regions ().end (); ++a) { for (vector::iterator p = ptfwavpair.begin (); @@ -370,7 +368,6 @@ Session::import_pt (PTFFormat& ptf, ImportStatus& status) } trymidi: - save_state(""); status.paths.clear(); status.paths.push_back(ptf.path ()); status.current = 1; @@ -456,7 +453,6 @@ trymidi: status.progress = 1.0; status.done = true; - save_state(""); status.sources.clear (); status.all_done = true; }