diff options
-rw-r--r-- | Userland/Applications/Run/RunWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Run/RunWindow.cpp b/Userland/Applications/Run/RunWindow.cpp index 20c97e80c7..7f89868abc 100644 --- a/Userland/Applications/Run/RunWindow.cpp +++ b/Userland/Applications/Run/RunWindow.cpp @@ -71,7 +71,7 @@ RunWindow::RunWindow() void RunWindow::event(Core::Event& event) { - if (event.type() == GUI::Event::KeyUp || event.type() == GUI::Event::KeyDown) { + if (event.type() == GUI::Event::KeyDown) { auto& key_event = static_cast<GUI::KeyEvent&>(event); if (key_event.key() == Key_Escape) { // Escape key pressed, close dialog |