Browse Source

complete code

gsp 1 year ago
parent
commit
1815367572
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OTSIncAMeasureApp/3-OTSDisplaySourceGridData/OTSPropertyWindow.cs

+ 2 - 1
OTSIncAMeasureApp/3-OTSDisplaySourceGridData/OTSPropertyWindow.cs

@@ -120,8 +120,9 @@ namespace OTSMeasureApp
                     string oldName = m_measurePara.GetWorkSampleName();
                     if (!m_measurePara.CheckSampleNameIsValid(strNewName))
                    {
-        
+
                         //update source grid,recover to the original value
+                        m_measurePara.GetWorkSamplePerameter(m_measurePara.GetWorkSample(), ref SMInfo);
                         DisplaySampleMeasureInfo(SMInfo);
                         return;
                     }