From 91ada49fa7df78f2a82db07ac462050422bc617a Mon Sep 17 00:00:00 2001 From: goat Date: Mon, 10 Apr 2023 21:20:36 +0200 Subject: [PATCH] always add plugins as enabled in profile editor --- .../Internal/Windows/PluginInstaller/ProfileManagerWidget.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs index ebabe4436..005e38040 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs @@ -204,10 +204,10 @@ internal class ProfileManagerWidget using (ImRaii.Disabled(this.pickerSelectedPluginInternalName == null)) { - if (ImGui.Button("Do it") && selected != null) + if (ImGui.Button("Add plugin") && selected != null) { // TODO: handle error - profile.AddOrUpdate(selected.Manifest.InternalName, selected.IsLoaded, false); + profile.AddOrUpdate(selected.Manifest.InternalName, true, false); Task.Run(() => profman.ApplyAllWantStates()) .ContinueWith(this.installer.DisplayErrorContinuation, "Could not change plugin state."); }