mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibCore: Allow widgets to reparent
This commit is contained in:
parent
8afbeb1892
commit
38974b4128
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ public:
|
||||||
{
|
{
|
||||||
if (m_parent)
|
if (m_parent)
|
||||||
m_parent->remove_child(*this);
|
m_parent->remove_child(*this);
|
||||||
|
m_parent = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T, class... Args>
|
template<class T, class... Args>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue