def METHOD_NAME(self, row: int) -> None:
    super().METHOD_NAME(row)
    if row != -1:
        # Update allocation var widget states, since allocation may differ from
        # the previous color space.
        self.param_edit.update_available_allocation_vars()