Explorar o código

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

MaiXinRong %!s(int64=9) %!d(string=hai) anos
pai
achega
3eb84b2cce
Modificáronse 1 ficheiros con 1 adicións e 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ºĄ̊ÕË)';