summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index 9b9421b643..2110c2ff17 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -2173,15 +2173,7 @@ void
RouteUI::track_mode_changed (void)
{
assert(is_track());
- switch (track()->mode()) {
- case ARDOUR::NonLayered:
- case ARDOUR::Normal:
- rec_enable_button->set_icon (ArdourIcon::RecButton);
- break;
- case ARDOUR::Destructive:
- rec_enable_button->set_icon (ArdourIcon::RecTapeMode);
- break;
- }
+ rec_enable_button->set_icon (ArdourIcon::RecButton);
rec_enable_button->queue_draw();
}