Explorar el Código

Fix bug - measure program reclassify button is not working

CXS hace 3 años
padre
commit
d4886176df
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      OTSIncAMeasureApp/2-OTSMeasureParamManage/COTSMeasureParam.cs

+ 2 - 3
OTSIncAMeasureApp/2-OTSMeasureParamManage/COTSMeasureParam.cs

@@ -163,10 +163,9 @@ namespace OTSMeasureApp
 
 
 
-            if (bNewFileFlag)
+            if (m_ResultData.GetPathName()=="")
             {
-                m_ResultData.SetPathName("Untitled");
-             
+                m_ResultData.SetPathName("Untitled");             
             }
 
             m_ResultData.m_nPackId = m_DefaultParam.m_nPackId;