Browse Source

同步TIN subRecipe past功能bug修复

jiangjy 2 weeks ago
parent
commit
e9df2e2c39

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

@@ -71,6 +71,7 @@ namespace FurnaceUI.Views.Recipes
             if (_copyTable != null)
             if (_copyTable != null)
             {
             {
                 var table = Tables[SelectedIndex];
                 var table = Tables[SelectedIndex];
+                if (table == _copyTable) return;
                 table.Name = _copyTable.Name;
                 table.Name = _copyTable.Name;
                 table.EndStatus = _copyTable.EndStatus;
                 table.EndStatus = _copyTable.EndStatus;
                 table.Steps.Clear();
                 table.Steps.Clear();