1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Disable wine path option when system wine is selected

This commit is contained in:
Joshua Goins 2023-07-31 19:35:33 -04:00
parent 309ea25e08
commit c4b58b154a

View file

@ -105,7 +105,7 @@ Kirigami.ScrollablePage {
FormFileDelegate { FormFileDelegate {
text: i18n("Wine Path") text: i18n("Wine Path")
file: page.profile.winePath file: page.profile.winePath
enabled: !LauncherCore.isSteam enabled: !LauncherCore.isSteam && page.profile.wineType !== Profile.System
} }
MobileForm.FormDelegateSeparator {} MobileForm.FormDelegateSeparator {}