Skip to content

Commit

Permalink
Add a small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dummerle committed Apr 7, 2023
1 parent c876e1f commit 42c1a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rare/components/tabs/settings/game_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def __init__(self, is_default, parent=None):
QLabel("Wrapper"), self.wrapper_settings
)

self.env_vars = EnvVars(self)
self.ui.game_settings_layout.addWidget(self.env_vars)

if platform.system() != "Windows":
self.linux_settings = LinuxAppSettings()
self.proton_settings = ProtonSettings(self.linux_settings, self.wrapper_settings)
Expand All @@ -59,9 +62,6 @@ def __init__(self, is_default, parent=None):
else:
self.ui.linux_settings_widget.setVisible(False)

self.env_vars = EnvVars(self)
self.ui.game_settings_layout.addWidget(self.env_vars)

if is_default:
self.ui.launch_settings_layout.removeRow(self.ui.skip_update)
self.ui.launch_settings_layout.removeRow(self.ui.offline)
Expand Down

0 comments on commit 42c1a1a

Please sign in to comment.