diff options
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index f0940fe719..2501b651fe 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7285,7 +7285,7 @@ Editor::insert_time ( if (all_playlists) { RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*> (*x); - if (rtav) { + if (rtav && rtav->track ()) { vector<boost::shared_ptr<Playlist> > all = _session->playlists->playlists_for_track (rtav->track ()); for (vector<boost::shared_ptr<Playlist> >::iterator p = all.begin(); p != all.end(); ++p) { pl.insert (*p); |