Don't hide selected control points.
There was already code for this, but actually setting the corresponding visibility flags seems to have been lost at some point.
This commit is contained in:
parent
563f5c11a6
commit
c91b691260
@ -906,6 +906,12 @@ AutomationLine::set_selected_points (PointSelection const & points)
|
|||||||
(*i)->set_selected (true);
|
(*i)->set_selected (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (points.empty()) {
|
||||||
|
remove_visibility (SelectedControlPoints);
|
||||||
|
} else {
|
||||||
|
add_visibility (SelectedControlPoints);
|
||||||
|
}
|
||||||
|
|
||||||
set_colors ();
|
set_colors ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user