mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 22:34:48 +01:00
794c227e83
* When RemoveSelf() is called, we do not own our own layout items, so we must not delete them. * However, we do own them when we still have layout items left when we get deleted ourselves. * This fixes removing/adding a child view to a view without deleting it inbetween (like the new Network preferences will do). * Optimized item removal -- not a good idea to always remove item 0.