From 09028931be0c5602d3c1b512451861475e1fb560 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sat, 23 Aug 2025 11:12:15 +0500 Subject: [PATCH] feat: use Backspace for move to parent directory in FileExplorer Signed-off-by: Boris Yumankulov --- portprotonqt/input_manager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/portprotonqt/input_manager.py b/portprotonqt/input_manager.py index f3040df..d4fadb4 100644 --- a/portprotonqt/input_manager.py +++ b/portprotonqt/input_manager.py @@ -765,6 +765,11 @@ class InputManager(QObject): app.quit() return True + # Handle Backspace for FileExplorer navigation (move to parent directory) + if key == Qt.Key.Key_Backspace and self.file_explorer: + self.file_explorer.previous_dir() + return True + # Close AddGameDialog with Escape if key == Qt.Key.Key_Escape and isinstance(popup, QDialog): popup.reject()