forked from Boria138/PortProtonQt
fix add game dialog navigation on keyboard
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -600,11 +600,11 @@ class InputManager(QObject):
|
||||
try:
|
||||
|
||||
app = QApplication.instance()
|
||||
if not app or not self._parent.isActiveWindow():
|
||||
return
|
||||
active = QApplication.activeWindow()
|
||||
focused = QApplication.focusWidget()
|
||||
popup = QApplication.activePopupWidget()
|
||||
if not app or not active:
|
||||
return
|
||||
|
||||
# Update D-pad state
|
||||
if value != 0:
|
||||
|
Reference in New Issue
Block a user