diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc index 4da1625678..ced2e7cb3d 100644 --- a/gtk2_ardour/editor_audio_import.cc +++ b/gtk2_ardour/editor_audio_import.cc @@ -939,6 +939,11 @@ Editor::finish_bringing_in_material (boost::shared_ptr region, if (at.empty()) { return -1; } + if (Config->get_strict_io ()) { + for (list >::iterator i = at.begin(); i != at.end(); ++i) { + (*i)->set_strict_io (true); + } + } existing_track = at.front(); } else if (mr) { @@ -951,7 +956,13 @@ Editor::finish_bringing_in_material (boost::shared_ptr region, if (mt.empty()) { return -1; } + if (Config->get_strict_io ()) { + for (list >::iterator i = mt.begin(); i != mt.end(); ++i) { + (*i)->set_strict_io (true); + } + } + // TODO set strict_io from preferences existing_track = mt.front(); } @@ -984,6 +995,11 @@ Editor::finish_bringing_in_material (boost::shared_ptr region, playlist->add_region (copy, pos); _session->add_command (new StatefulDiffCommand (playlist)); } + if (Config->get_strict_io ()) { + for (list >::iterator i = at.begin(); i != at.end(); ++i) { + (*i)->set_strict_io (true); + } + } break; } }