Browse Source

saveAsRecipeBug bug

jiangjy 1 month ago
parent
commit
726ab62518
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Furnace/FurnaceUI/Views/Recipes/RecipeViewModel.cs

+ 1 - 0
Furnace/FurnaceUI/Views/Recipes/RecipeViewModel.cs

@@ -1250,6 +1250,7 @@ namespace FurnaceUI.Views.Recipes
                     this.Save(this.CurrentRecipe, false);
                 }
             }
+            this.LoadData(CurrentRecipe.PrefixPath, CurrentFileNode.FullPath);
             InputFileNameDialogViewModel dialog = new InputFileNameDialogViewModel("Input New Recipe Name", ProcessTypeFileList[0].FileListByProcessType, CurrentRecipe.Description, Visibility.Hidden);
             dialog.SelectIndex = ProcessTypeFileList[0].FileListByProcessType.IndexOf(ProcessTypeFileList[0].FileListByProcessType.FirstOrDefault(a => a.IsSelected));
             dialog.FileName = CurrentFileNode.Name;