/// <summary> /// Add the given hint id to the disabled list. /// </summary> /// <param name="id"></param> public static void SetHintAsDisabled(string id) { if (!DisabledHintIDs.Contains(id)) { DisabledHintIDs.Add(id); } Save(); }
/// <summary> /// Resets the 'disabled' status of all hints. /// </summary> public static void RestoreDisabledHints() { DisabledHintIDs.Clear(); // Clear the saved list. Hints.RestoreAllHints(); // Clear the in-use list. Save(); }