mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +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: https://github.com/SerenityOS/serenity/commit/af7cb7ce1b0
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue