/// <summary> /// ActionKey callback function to handle Delete and Back key. /// Deletes the selected backup. /// </summary> /// <returns>True, cause we have handled the key.</returns> protected static bool RemoveBackup(ActionKeyInfo keyState) { RemoveSelectedBackup(); return true; }
private static bool DeleteKnownPath(ActionKeyInfo keyState) { RemoveKSPPath(); return true; }
/// <summary> /// Deletes the selected Flag. /// </summary> /// <returns>Returns true cause we have handled the key.</returns> private static bool DeleteFlag(ActionKeyInfo keyState) { DeleteSelectedFlag(); return true; }
/// <summary> /// ActionKey callback function to handle Delete and Back key. /// Deletes the selected mod(s). /// </summary> /// <returns>True, cause we have handled the key.</returns> protected static bool DeleteMod(ActionKeyInfo keyState) { RemoveMod(View.SelectedMods.ToArray()); return true; }