Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLayout: Don't delete the layout of the view in RemoveView().
The layout item representing the layout of the view to be removed is owned by the view and must not be deleted. The layout only owns the item if a new layout item was created when adding the view, i.e. when it did not have a layout. Fixes the underlying issue that triggered #11976.
- Loading branch information