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
Notes: sideshowbarker 2024-07-19 10:48:19 +09:00

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