summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-04-16 11:30:58 +0000
committerCarl Hetherington <carl@carlh.net>2011-04-16 11:30:58 +0000
commit443c51fee23855c709c83e016a80895e4e2dc0c7 (patch)
treec2cd865a881a2270539006bf1a0b920dd7aae78a /gtk2_ardour/editor_ops.cc
parentb999368186a971c3bbb7c478892731b4d8ab2e90 (diff)
Fix crash on bouncing a range selection that includes a buss (#3962).
git-svn-id: svn://localhost/ardour2/branches/3.0@9356 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index b88cd3cf4c..a1bb3c0c99 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -3361,7 +3361,7 @@ Editor::bounce_range_selection (bool replace, bool enable_processing)
for (TrackViewList::iterator i = views.begin(); i != views.end(); ++i) {
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (*i);
- if (rtv && !rtv->track()->bounceable()) {
+ if (rtv && rtv->track() && !rtv->track()->bounceable()) {
MessageDialog d (
_("One or more selected tracks cannot be bounced because it has more outputs than inputs. "
"You can fix this by increasing the number of inputs on that track.")