1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00

ProtonSettings: correctly access wine_groupbox

This commit is contained in:
loathingKernel 2023-03-29 14:02:46 +03:00
parent afea6c54f6
commit 392ea81707
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD

View file

@ -77,10 +77,10 @@ class ProtonSettings(QGroupBox):
self.proton_prefix.setEnabled(False)
self.proton_prefix.setText("")
self._linux_settings.wine_groupbox.setEnabled(True)
self._linux_settings.ui.wine_groupbox.setEnabled(True)
else:
self.proton_prefix.setEnabled(True)
self._linux_settings.wine_groupbox.setEnabled(False)
self._linux_settings.ui.wine_groupbox.setEnabled(False)
wrapper = self.possible_proton_combos[i - 1]
self._wrapper_settings.add_wrapper(wrapper)
config_helper.add_option(self.app_name, "no_wine", "true")