From bca1be28e31af8ad56230974ddc14f8eae6f64ce Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 4 Jul 2016 09:27:28 -0400 Subject: [PATCH] avoid unnecessary multiple calls to RouteUI::update_monitoring_state() --- gtk2_ardour/route_ui.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 4427810bde..7ecb4f2031 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -1289,15 +1289,13 @@ RouteUI::update_mute_display () void RouteUI::route_rec_enable_changed () { - blink_rec_display(true); //this lets the button change "immediately" rather than wait for the next blink - update_monitoring_display (); + blink_rec_display (true); //this lets the button change "immediately" rather than wait for the next blink } void RouteUI::session_rec_enable_changed () { - blink_rec_display(true); //this lets the button change "immediately" rather than wait for the next blink - update_monitoring_display (); + blink_rec_display (true); //this lets the button change "immediately" rather than wait for the next blink } void