mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 09:57:44 +01:00
[Summary] Added NULL ptr check when it's required
This commit is contained in:
parent
0bab5cffe4
commit
a5393dbf35
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ Editor::set_selected_mixer_strip (TimeAxisView& view)
|
|||
if (current_mixer_strip->route() && !selection->tracks.empty() ) {
|
||||
TimeAxisView* cur_view = get_route_view_by_route_id(current_mixer_strip->route()->id() );
|
||||
|
||||
if (selection->selected(cur_view) ) {
|
||||
if (cur_view && selection->selected(cur_view) ) {
|
||||
// nothing to do, we already show the track which is selected
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue