Check that a route has a track before trying to insert time on it.
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 10 Sep 2015 10:50:20 +0000 (11:50 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 10 Sep 2015 10:50:20 +0000 (11:50 +0100)
commit3eb7ee6ac1a31338bc45eaf5af765f41f34ad910
tree88952ea172767a3b6ea81802abac6c998f02ad4f
parent1a6c08dcfc07b7254dd2ac4470a363a1a0f94461
Check that a route has a track before trying to insert time on it.

Routes which are busses don't have a track, and thus no playlists either:
avoid a crash when inserting time when a bus is selected and 'all
playlists' is chosen.
gtk2_ardour/editor_ops.cc