From af7cb7ce1b057670f67fba988383f4cedfd9a470 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 19 Dec 2019 20:07:58 +0100 Subject: [PATCH] LibGUI: GWidget::drop_event() should ignore the event by default This will cause the event to bubble up the widget tree. --- Libraries/LibGUI/GWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibGUI/GWidget.cpp b/Libraries/LibGUI/GWidget.cpp index dbd7b0cd83..67ac897a2a 100644 --- a/Libraries/LibGUI/GWidget.cpp +++ b/Libraries/LibGUI/GWidget.cpp @@ -355,6 +355,7 @@ void GWidget::change_event(GEvent&) void GWidget::drop_event(GDropEvent& event) { dbg() << class_name() << "{" << this << "} DROP position: " << event.position() << ", text: '" << event.text() << "'"; + event.ignore(); } void GWidget::update()