1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-01 08:27:45 +00:00

Hide the "Wine Path" setting when using built-in Wine

It was previously enabled, but we should really hide it as it's not
relevant nor useful for the user to know this.
This commit is contained in:
Joshua Goins 2025-04-29 15:12:07 -04:00
parent 7ae4e8a8e6
commit 871637261e

View file

@ -146,7 +146,7 @@ FormCard.FormCardPage {
text: i18n("Wine Executable")
file: page.profile.winePath
enabled: page.profile.config.wineType !== Profile.BuiltIn
visible: page.profile.config.wineType !== Profile.BuiltIn
onAccepted: (path) => page.profile.winePath = path
}
@ -154,6 +154,7 @@ FormCard.FormCardPage {
FormCard.FormDelegateSeparator {
above: winePathDelegate
below: winePrefixPathDelegate
visible: winePathDelegate.visible
}
FormFolderDelegate {