mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +00:00
Shell: Remove unnecessary ignore() in Shell::custom_event()
Ignoring an event means that it will bubble to the parent Core::Object. This is not necessary here.
This commit is contained in:
parent
b8440b12b7
commit
d9aecc8e08
Notes:
sideshowbarker
2024-07-19 04:13:35 +09:00
Author: https://github.com/awesomekling
Commit: d9aecc8e08
1 changed files with 0 additions and 2 deletions
|
@ -1077,8 +1077,6 @@ void Shell::custom_event(Core::CustomEvent& event)
|
||||||
Core::EventLoop::current().post_event(*this, make<Core::CustomEvent>(ShellEventType::ReadLine));
|
Core::EventLoop::current().post_event(*this, make<Core::CustomEvent>(ShellEventType::ReadLine));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
event.ignore();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Shell::Shell()
|
Shell::Shell()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue