From 4aaeb2e809db14308f526233bff5f5f44c8916b3 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Tue, 2 Dec 2025 18:23:49 +0500 Subject: [PATCH] fix: dont start game by Enter Signed-off-by: Boris Yumankulov --- portprotonqt/input_manager.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/portprotonqt/input_manager.py b/portprotonqt/input_manager.py index 15cf9c5..a6dbdd8 100644 --- a/portprotonqt/input_manager.py +++ b/portprotonqt/input_manager.py @@ -1976,12 +1976,6 @@ class InputManager(QObject): self.dpad_moved.emit(dpad_code, dpad_value, now) return True - # Launch/stop game on detail page - if self._parent.currentDetailPage and key in (Qt.Key.Key_Return, Qt.Key.Key_Enter): - if self._parent.current_exec_line: - self._parent.toggleGame(self._parent.current_exec_line, None) - return True - # Context menu for GameCard if isinstance(focused, GameCard): if key == Qt.Key.Key_F10 and modifiers & Qt.KeyboardModifier.ShiftModifier: