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:
parent
7ae4e8a8e6
commit
871637261e
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue