Skip to content

Commit

Permalink
Shell: Remove unnecessary ignore() in Shell::custom_event()
Browse files Browse the repository at this point in the history
Ignoring an event means that it will bubble to the parent Core::Object.
This is not necessary here.
  • Loading branch information
awesomekling committed Aug 6, 2020
1 parent b8440b1 commit d9aecc8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Shell/Shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d9aecc8

Please sign in to comment.