Beispiel #1
0
 /// <summary>
 /// Pause a specific save
 /// </summary>
 /// <param name="_nb">Index of the work in the list</param>
 public void PauseSave(int _nb)
 {
     lock (sync)
     {
         if (WorkList[_nb].Progress != null && WorkList[_nb].Progress.IsPaused != true)
         {
             WorkList[_nb].Progress.IsPaused = true;
             EditLog.SavePaused(_nb);
         }
     }
 }