Browse Source

Config.Json small change

Unknown 6 years ago
parent
commit
bbac856564
1 changed files with 1 additions and 0 deletions
  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;