|
@@ -596,10 +596,6 @@ namespace FurnaceUI.Views.Recipes
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (node != null && !node.IsFile)
|
|
|
- {
|
|
|
- InitializeDefault(false);
|
|
|
- }
|
|
|
|
|
|
if (node != null && !node.IsFile)
|
|
|
{
|
|
@@ -610,10 +606,10 @@ namespace FurnaceUI.Views.Recipes
|
|
|
{
|
|
|
a.IsSelected = true;
|
|
|
a.Files.ForEachDo(e => e.IsSelected = false);
|
|
|
- RecipeFileList = a.Files.ToList();
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
+ RecipeFileList = RecipeSequenceTreeBuilder.GetFileNodeParameterList(node.FullPath).ToList();
|
|
|
|
|
|
}
|
|
|
|
|
@@ -1429,7 +1425,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
CurrentRecipe.Name = newName;
|
|
|
CurrentRecipe.Description = dialog.Comment;
|
|
|
CurrentRecipe.ReviseTime = DateTime.Now;
|
|
|
- CurrentRecipe.PrefixPath = CurrentChamberType + "\\" + CurrentProcessType;
|
|
|
+ CurrentRecipe.PrefixPath = CurrentChamberType + "\\" + CurrentProcessType;
|
|
|
//ReloadRecipeFileList(CurrentChamberType, CurrentProcessType, newName, false);
|
|
|
ProcessTypeFileItem item = ProcessTypeFileList.FirstOrDefault(x => x.ProcessType == CurrentProcessType);
|
|
|
item.FileListByProcessType = RecipeSequenceTreeBuilder.GetFileNodeParameterList($"{ChamberType[ChamberTypeIndexSelection]}\\{item.ProcessType}");// RecipeSequenceTreeBuilder.BuildFileNode(prefix, selectedFile, selectionIsFolder, recipes)[0].Files;
|