summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Applications/Run/RunWindow.cpp2
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