mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +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
Notes:
sideshowbarker
2024-07-19 10:48:19 +09:00
Author: https://github.com/awesomekling
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