1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 20:35:06 +00:00

LibGUI: GWidget::drop_event() should ignore the event by default

This will cause the event to bubble up the widget tree.
This commit is contained in:
Andreas Kling 2019-12-19 20:07:58 +01:00
parent 0a10462896
commit af7cb7ce1b

View file

@ -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()