From 871637261ed674c5d7b9d9d59b707c4620c9a0f6 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 29 Apr 2025 15:12:07 -0400 Subject: [PATCH] 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. --- launcher/ui/Settings/ProfileSettings.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index 753a24d..a841143 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -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 {