summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/Run/RunWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/Run/RunWindow.cpp b/Userland/Applications/Run/RunWindow.cpp
index 3050774a6a..95aeaa9a41 100644
--- a/Userland/Applications/Run/RunWindow.cpp
+++ b/Userland/Applications/Run/RunWindow.cpp
@@ -101,6 +101,8 @@ void RunWindow::event(Core::Event& event)
// Escape key pressed, close dialog
close();
return;
+ } else if ((key_event.key() == Key_Up || key_event.key() == Key_Down) && m_path_history.is_empty()) {
+ return;
}
}