summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 4450118951..4de34d61d5 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -503,7 +503,7 @@ RouteTimeAxisView::set_track_mode (TrackMode mode)
}
if (item->get_active () && track()->mode() != mode) {
- _set_track_mode (track(), mode, other_item);
+ _set_track_mode (track().get(), mode, other_item);
}
}