if it is called with an unchanged selection. It breaks updates
of the available tabs when a OV is added to a VF DCP, or when a new CPL
is chosen that has subs where the previous one did not.
Backport from
d038abd7a0dce09aa84101c45af5ec8e4086e64f in v2.15.x.
void
ContentPanel::check_selection ()
{
- if (_last_selected == selected()) {
- /* This was triggered by a re-build of the view but the selection
- did not really change.
- */
- return;
- }
-
_last_selected = selected ();
setup_sensitivity ();