Sfoglia il codice sorgente

修改测量程序先点击中止再点击停止按钮状态不变的bug

cxs 1 anno fa
parent
commit
b788fb98be
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

+ 1 - 0
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -967,6 +967,7 @@ namespace OTSMeasureApp
                     if (smpl.Value.GetSample().GetMsrStatus().GetStatus() == OTS_MSR_SAMPLE_STATUS.PAUSED)
                     {
                         smpl.Value.TheLastWorkOfSampleMeasure();
+                        SetStopMeasureRibbonStatus();
                         return;
                     }
                 }