Exemplo n.º 1
0
    public void Enable(string modObjectName, bool save = true)
    {
        if (!IsEnabled(modObjectName))
        {
            DisabledList.Remove(modObjectName);
            UpdateProfileSelection();

            if (save)
            {
                Save();
            }
        }
    }
Exemplo n.º 2
0
    public void Enable(string modObjectName, bool save = true)
    {
        if (GetEnabledFlag(modObjectName) != EnableFlag.Enabled)
        {
            DisabledList.Remove(modObjectName);

            ProfileManager.UpdateProfileSelection();

            if (save)
            {
                Save();
            }
        }
    }