瀏覽代碼

Merge branch 'GSP' of http://36.129.163.148:30080/gogsadmin/OTS into GSP

gsp 1 年之前
父節點
當前提交
86d4c9c13e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OTSPartA_STDEditor/Attributes.cs

+ 1 - 1
OTSPartA_STDEditor/Attributes.cs

@@ -209,7 +209,7 @@ namespace OTSPartA_STDEditor
             SourceGrid.Cells.Views.Cell view = new SourceGrid.Cells.Views.Cell();
             view.BackColor = colorHx16toRGB(m_MainForm.STDDictionary[STDId].Color);
             Grid_Attributes[3, 1].View = view;
-            Grid_Attributes[4, 1].Value = true;
+            Grid_Attributes[4, 1].Value = Convert.ToBoolean(m_MainForm.STDDictionary[STDId].IfElementAnalysis);
             Grid_Attributes[5, 1].Value = m_MainForm.STDDictionary[STDId].Hardness;
             Grid_Attributes[6, 1].Value = m_MainForm.STDDictionary[STDId].Density;
             Grid_Attributes[7, 1].Value = m_MainForm.STDDictionary[STDId].Electrical_conductivity;