mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 12:49:26 +01:00
* RegenerateParams was not called in all cases
git-svn-id: trunk@16068 -
This commit is contained in:
parent
23ff1e0681
commit
a2a493a60e
@ -126,10 +126,13 @@ end;
|
||||
|
||||
procedure TCustomSQLDBWebDataProvider.SQLChanged(Sender: TObject);
|
||||
begin
|
||||
If (Sender=SelectSQL) and Assigned(FQuery) then
|
||||
If (Sender=SelectSQL) then
|
||||
begin
|
||||
FQuery.Close;
|
||||
FQuery.SQL.Assign(SelectSQL);
|
||||
if Assigned(FQuery) then
|
||||
begin
|
||||
FQuery.Close;
|
||||
FQuery.SQL.Assign(SelectSQL);
|
||||
end;
|
||||
If Not (csLoading in ComponentState) then
|
||||
RegenerateParams;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user