/// <summary> /// Can delete a save work (set to null) /// </summary> /// <param name="_nb">Index of the work in the list to delete</param> public void DeleteWork(int _nb) { WorkList.RemoveAt(_nb); SetWorkIndex(); UpdateSaveFile(); EditLog.DeleteWorkLogLine(_nb); }