diff --git a/SicUI/Models/RecipeEditors/RecipeEditorViewModel.cs b/SicUI/Models/RecipeEditors/RecipeEditorViewModel.cs index b6c8a54..3165e22 100644 --- a/SicUI/Models/RecipeEditors/RecipeEditorViewModel.cs +++ b/SicUI/Models/RecipeEditors/RecipeEditorViewModel.cs @@ -2064,7 +2064,7 @@ namespace SicUI.Models.RecipeEditors /// public bool EnterCellAccessPermissionEditMode() { - if (CurrentRecipe == null) + if (CurrentRecipe == null || CurrentRecipe.Steps.Count <= 0) return false; // 如果Recipe已更改但为保存,禁止编辑