remove unnecessary scoping
This commit is contained in:
parent
c5db19bc52
commit
99cfd00e86
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user