From 8dca4226b6a4e511f91ba5cee21126b361900ad3 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 26 May 2024 08:24:38 -0400 Subject: [PATCH] Hide some advanced Dalamud stuff behind the dev tools settings For a normal user, they would never have to (and really shouldn't) the injection delay or method options. This also reduces some of the options overlay on this page. --- launcher/ui/Settings/ProfileSettings.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index 93468a2..0b26a6d 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -247,11 +247,13 @@ FormCard.FormCardPage { FormCard.FormDelegateSeparator { above: dalamudChannelDelegate below: dalamudInjectDelegate + visible: LauncherCore.settings.showDevTools } FormCard.FormComboBoxDelegate { id: dalamudInjectDelegate + visible: LauncherCore.settings.showDevTools text: i18n("Injection Method") description: "It shouldn't be nessecary to change this setting, unless you're running into issues injecting Dalamud." model: ["Entrypoint", "DLL Injection"] @@ -268,6 +270,7 @@ FormCard.FormCardPage { FormCard.FormSpinBoxDelegate { id: dalamudDelayDelegate + visible: LauncherCore.settings.showDevTools label: i18n("Injection Delay") value: page.profile.dalamudInjectDelay onValueChanged: page.profile.dalamudInjectDelay = value