mirror of
https://github.com/lutris/lutris
synced 2024-11-02 14:59:58 +00:00
Fix bugged config index selection
This commit is contained in:
parent
e6b667bb99
commit
2fb0b41251
1 changed files with 2 additions and 1 deletions
|
@ -463,7 +463,8 @@ class Game(GObject.Object):
|
|||
elif preferred_launch_command_name:
|
||||
for index, config in enumerate(configs):
|
||||
if config.get("name") == preferred_launch_command_name:
|
||||
config_index = index
|
||||
config_index = index + 1
|
||||
break
|
||||
|
||||
if config_index is None:
|
||||
dlg = dialogs.LaunchConfigSelectDialog(self, configs)
|
||||
|
|
Loading…
Reference in a new issue