- else if( mwindow->edl->tracks->track_exists(track) ) {
- mwindow->insert_effect(plugin_title, &shared_location,
- track, 0, 0, 0, plugin_type);
- }
+ double length = end - start;
+ mwindow->insert_effect(plugin_title, &shared_location,
+ track, 0, start, length, plugin_type);