Ver código fonte

Config.Json small change

Unknown 6 anos atrás
pai
commit
bbac856564
1 arquivos alterados com 1 adições e 0 exclusões
  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;