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; } }