summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2009-07-23 17:26:32 +0000
committerSampo Savolainen <v2@iki.fi>2009-07-23 17:26:32 +0000
commit162c48b84381335ff90fe64b5324467693dee736 (patch)
treef3af4ea9b180248584306e479c19915a476fc2e8 /gtk2_ardour/editor_routes.cc
parentae0ae3931b2fbbfc193aeb8a23e3497a9709795a (diff)
Make editor route list rec button respect group settings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5421 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index dc869c4ad9..e8d4fbaccd 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -126,7 +126,7 @@ EditorRoutes::on_tv_rec_enable_toggled (Glib::ustring const & path_string)
AudioTimeAxisView *atv = dynamic_cast<AudioTimeAxisView*> (tv);
if (atv != 0 && atv->is_audio_track()){
- atv->get_diskstream()->set_record_enabled(!atv->get_diskstream()->record_enabled());
+ atv->reversibly_apply_track_boolean ("rec-enable change", &Track::set_record_enable, !atv->track()->record_enabled(), this);
}
}