Explorar o código

Config.Json small change

Unknown %!s(int64=6) %!d(string=hai) anos
pai
achega
bbac856564
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;