mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02: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:
Notes:
sideshowbarker
2024-07-19 04:13:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d9aecc8e08d
@@ -1077,8 +1077,6 @@ void Shell::custom_event(Core::CustomEvent& event)
|
||||
Core::EventLoop::current().post_event(*this, make<Core::CustomEvent>(ShellEventType::ReadLine));
|
||||
return;
|
||||
}
|
||||
|
||||
event.ignore();
|
||||
}
|
||||
|
||||
Shell::Shell()
|
||||
|
||||
Reference in New Issue
Block a user