소스 검색

complete code

gsp 2 년 전
부모
커밋
1815367572
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;
                     }