mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +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
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