mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-23 08:59:17 +01:00
fix: only persist plugin state to default profile when removing profile is enabled
This commit is contained in:
parent
1f0526b2ef
commit
af157c3664
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ internal class Profile
|
||||||
{
|
{
|
||||||
if (!this.IsDefaultProfile)
|
if (!this.IsDefaultProfile)
|
||||||
{
|
{
|
||||||
await this.manager.DefaultProfile.AddOrUpdateAsync(internalName, entry.IsEnabled, false);
|
await this.manager.DefaultProfile.AddOrUpdateAsync(internalName, this.IsEnabled && entry.IsEnabled, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue