diff options
Diffstat (limited to 'LibGUI/GWidget.cpp')
-rw-r--r-- | LibGUI/GWidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/LibGUI/GWidget.cpp b/LibGUI/GWidget.cpp index e4e0756b14..4bc8bb1c8e 100644 --- a/LibGUI/GWidget.cpp +++ b/LibGUI/GWidget.cpp @@ -120,8 +120,6 @@ void GWidget::handle_paint_event(GPaintEvent& event) void GWidget::set_layout(OwnPtr<GLayout>&& layout) { - if (m_layout.ptr() == layout.ptr()) - return; if (m_layout) m_layout->notify_disowned(Badge<GWidget>(), *this); m_layout = move(layout); |