use session start rather than edit position for import-at-timestamp if there is no...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 12 Apr 2010 22:34:34 +0000 (22:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 12 Apr 2010 22:34:34 +0000 (22:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6885 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_audio_import.cc

index 27b9178bb642be07eff1938af7bffbb4dc680e87..65ddb12e30633918ea65668744af18f7f7c110a1 100644 (file)
@@ -731,7 +731,7 @@ Editor::add_sources (vector<Glib::ustring> paths, SourceList& sources, nframes64
                if (sources[0]->natural_position() != 0) {
                        pos = sources[0]->natural_position();
                } else {
-                       pos = get_preferred_edit_position ();
+                       pos = _session->current_start_frame();
                }
        }