Exemplo n.º 1
0
 public static void DeleteCommand(int index)
 {
     if (activeProfile == null)
     {
         Log.Warning("Tried to delete command without open profile");
         return;
     }
     SetChanged();
     activeProfile.DeleteCommand(index);
 }
Exemplo n.º 2
0
 public static void DeleteCommand(int index)
 {
     if (currentProfile == null)
     {
         Log.Warning("Tried to delete command without open profile");
         return;
     }
     unsavedChanges = true;
     currentProfile.DeleteCommand(index);
 }