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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 4a723ba16e..60b4978462 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -1074,7 +1074,7 @@ RouteTimeAxisView::rename_current_playlist ()
string name;
boost::shared_ptr<Track> tr = track();
- if (!tr || tr->destructive()) {
+ if (!tr) {
return;
}
@@ -1148,7 +1148,7 @@ RouteTimeAxisView::use_new_playlist (bool prompt, vector<boost::shared_ptr<Playl
string name;
boost::shared_ptr<Track> tr = track ();
- if (!tr || tr->destructive()) {
+ if (!tr) {
return;
}
@@ -1216,7 +1216,7 @@ void
RouteTimeAxisView::clear_playlist ()
{
boost::shared_ptr<Track> tr = track ();
- if (!tr || tr->destructive()) {
+ if (!tr) {
return;
}