fix odd double conditional

This commit is contained in:
Paul Davis 2016-07-13 13:43:31 -04:00
parent 3c58a674c5
commit eab3c57b83

View file

@ -5637,10 +5637,8 @@ ARDOUR_UI::load_bindings ()
void void
ARDOUR_UI::cancel_solo () ARDOUR_UI::cancel_solo ()
{ {
if (_session) {
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 _session->clear_all_solo_state (_session->get_routes()); // safeguard, ideally this won't do anything, check the log-window
} }
} }