From eab3c57b834c3f4dbaeb5d412cdef3a672276c56 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 13 Jul 2016 13:43:31 -0400 Subject: fix odd double conditional --- gtk2_ardour/ardour_ui.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gtk2_ardour/ardour_ui.cc') diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 4778b6c47d..2ef51d80ec 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -5638,9 +5638,7 @@ void ARDOUR_UI::cancel_solo () { if (_session) { - if (_session) { - _session->set_controls (route_list_to_control_list (_session->get_routes(), &Stripable::solo_control), 0.0, Controllable::NoGroup); - } + _session->set_controls (route_list_to_control_list (_session->get_routes(), &Stripable::solo_control), 0.0, Controllable::NoGroup); _session->clear_all_solo_state (_session->get_routes()); // safeguard, ideally this won't do anything, check the log-window } } -- cgit v1.2.3