diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-06 14:27:06 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-06 14:27:06 +0200 |
commit | d9aecc8e08d4ac2cd69b481a7772ac72c62b4689 (patch) | |
tree | 6c5855b365ede1bd306f171ed0527cadd4dad483 | |
parent | b8440b12b795a88ba2a2cca89a9ce7e77fa682c0 (diff) | |
download | serenity-d9aecc8e08d4ac2cd69b481a7772ac72c62b4689.zip |
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.
-rw-r--r-- | Shell/Shell.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp index ddfad4d600..debfcded94 100644 --- a/Shell/Shell.cpp +++ b/Shell/Shell.cpp @@ -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() |