diff options
Diffstat (limited to 'LibGUI/GWidget.cpp')
-rw-r--r-- | LibGUI/GWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GWidget.cpp b/LibGUI/GWidget.cpp index feb84a1f95..9ccc18279c 100644 --- a/LibGUI/GWidget.cpp +++ b/LibGUI/GWidget.cpp @@ -106,7 +106,7 @@ void GWidget::update() if (m_has_pending_paint_event) return; m_has_pending_paint_event = true; - GEventLoop::main().post_event(w, make<GPaintEvent>(relative_rect())); + w->update(relative_rect()); } GWidget::HitTestResult GWidget::hit_test(int x, int y) |