mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +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:
parent
0a10462896
commit
af7cb7ce1b
1 changed files with 1 additions and 0 deletions
|
@ -355,6 +355,7 @@ void GWidget::change_event(GEvent&)
|
||||||
void GWidget::drop_event(GDropEvent& event)
|
void GWidget::drop_event(GDropEvent& event)
|
||||||
{
|
{
|
||||||
dbg() << class_name() << "{" << this << "} DROP position: " << event.position() << ", text: '" << event.text() << "'";
|
dbg() << class_name() << "{" << this << "} DROP position: " << event.position() << ", text: '" << event.text() << "'";
|
||||||
|
event.ignore();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GWidget::update()
|
void GWidget::update()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue