1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

LibCore: Allow widgets to reparent

This commit is contained in:
Torstennator 2023-09-15 12:07:04 +02:00 committed by Andrew Kaster
parent 8afbeb1892
commit 38974b4128

View file

@ -134,6 +134,7 @@ public:
{
if (m_parent)
m_parent->remove_child(*this);
m_parent = nullptr;
}
template<class T, class... Args>