cxs 1 год назад
Родитель
Сommit
fa7e7c8578
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();
             SourceGrid.Cells.Views.Cell view = new SourceGrid.Cells.Views.Cell();
             view.BackColor = colorHx16toRGB(m_MainForm.STDDictionary[STDId].Color);
             view.BackColor = colorHx16toRGB(m_MainForm.STDDictionary[STDId].Color);
             Grid_Attributes[3, 1].View = view;
             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[5, 1].Value = m_MainForm.STDDictionary[STDId].Hardness;
             Grid_Attributes[6, 1].Value = m_MainForm.STDDictionary[STDId].Density;
             Grid_Attributes[6, 1].Value = m_MainForm.STDDictionary[STDId].Density;
             Grid_Attributes[7, 1].Value = m_MainForm.STDDictionary[STDId].Electrical_conductivity;
             Grid_Attributes[7, 1].Value = m_MainForm.STDDictionary[STDId].Electrical_conductivity;