mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
always add plugins as enabled in profile editor
This commit is contained in:
parent
b0906af1ba
commit
91ada49fa7
1 changed files with 2 additions and 2 deletions
|
|
@ -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.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue