mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Fix system options listed in random order
This commit is contained in:
parent
85b049618c
commit
3127e9c9cf
|
@ -147,7 +147,8 @@ def with_runner_overrides(runner):
|
|||
"""Return system options updated with overrides from given runner."""
|
||||
options = system_options
|
||||
if runner.system_options_override:
|
||||
opts_dict = dict((opt['option'], opt) for opt in options)
|
||||
from collections import OrderedDict
|
||||
opts_dict = OrderedDict((opt['option'], opt) for opt in options)
|
||||
for option in runner.system_options_override:
|
||||
key = option['option']
|
||||
if opts_dict.get(key):
|
||||
|
|
Loading…
Reference in a new issue