浏览代码

Commented out code enforcing "Active" on StockLocation.

Kenric Nugteren 2 月之前
父节点
当前提交
67b9c0c7b3
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      prs.desktop/Panels/Products/Locations/StockLocationGrid.cs

+ 3 - 3
prs.desktop/Panels/Products/Locations/StockLocationGrid.cs

@@ -122,9 +122,9 @@ public class StockLocationGrid : DynamicDataGrid<StockLocation>
             //var bHasHoldings = items.FirstOrDefault().Holdings != 0;
             //editor.Editable = bHasHoldings ? Editable.Disabled : Editable.Enabled;
             //if (bHasHoldings)
-            var item = items?.FirstOrDefault();
-            if (item is not null)
-                item.Active = true;
+            // var item = items?.FirstOrDefault();
+            // if (item is not null)
+            //     item.Active = true;
         }
     }
 }