mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibCore: Allow widgets to reparent
This commit is contained in:
parent
8afbeb1892
commit
38974b4128
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/Torstennator
Commit: 38974b4128
Pull-request: https://github.com/SerenityOS/serenity/pull/21511
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/cubiclove
Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ public:
|
|||
{
|
||||
if (m_parent)
|
||||
m_parent->remove_child(*this);
|
||||
m_parent = nullptr;
|
||||
}
|
||||
|
||||
template<class T, class... Args>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue