13
0

remove unnecessary scoping

This commit is contained in:
Paul Davis 2014-12-26 13:04:40 -05:00
parent c5db19bc52
commit 99cfd00e86

View File

@ -1595,7 +1595,6 @@ EditorRoutes::idle_update_mute_rec_solo_etc()
(*i)[_columns.solo_isolate_state] = RouteUI::solo_isolate_active_state (route) ? 1 : 0;
(*i)[_columns.solo_safe_state] = RouteUI::solo_safe_active_state (route) ? 1 : 0;
(*i)[_columns.active] = route->active ();
{
if (boost::dynamic_pointer_cast<Track> (route)) {
boost::shared_ptr<MidiTrack> mt = boost::dynamic_pointer_cast<MidiTrack> (route);
@ -1614,7 +1613,7 @@ EditorRoutes::idle_update_mute_rec_solo_etc()
(*i)[_columns.name_editable] = !route->record_enabled ();
}
}
}
return false; // do not call again (until needed)
}