소스 검색

Config.Json small change

Unknown 6 년 전
부모
커밋
bbac856564
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Quick.Config.Json.pas

+ 1 - 0
Quick.Config.Json.pas

@@ -234,6 +234,7 @@ end;
 
 procedure TAppConfigJsonProvider.SetReloadIfFileChanged(const Value: Boolean);
 begin
+  if Value = fReloadIfFileChanged then Exit;
   fReloadIfFileChanged := Value;
   if Assigned(fFileMonitor) then fFileMonitor.Free;
   if fReloadIfFileChanged then CreateFileMonitor;