Explorar el Código

Bug 修改仅原报可修改中间计量类型后,新建项目报错

MaiXinRong hace 9 años
padre
commit
3eb84b2cce
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Frames/ZJJLFme.pas

+ 1 - 0
Frames/ZJJLFme.pas

@@ -153,6 +153,7 @@ procedure TZJJLFrame.RefreshTitle;
 var
   iType: Integer;
 begin
+  if not TPhaseData(FZJJLData.PhaseData).Active then Exit;
   iType := TPhaseData(FZJJLData.PhaseData).PhaseProperty.ZJJLType;
   case iType of
     0: labTitle.Caption := 'ÖÐ¼ä¼ÆÁ¿(0ºĄ̊ÕË)';