public void Enable(string modObjectName, bool save = true) { if (!IsEnabled(modObjectName)) { DisabledList.Remove(modObjectName); UpdateProfileSelection(); if (save) { Save(); } } }
public void Enable(string modObjectName, bool save = true) { if (GetEnabledFlag(modObjectName) != EnableFlag.Enabled) { DisabledList.Remove(modObjectName); ProfileManager.UpdateProfileSelection(); if (save) { Save(); } } }