mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-31 19:16:12 +02:00
LCL: make FileNameEdit FileName property change synchronously with Text one. Patch from Bart Broersma, bug #15295
git-svn-id: trunk@27930 -
This commit is contained in:
parent
2e3d83111a
commit
d16d3ded6a
@ -824,7 +824,6 @@ end;
|
||||
|
||||
procedure TFileNameEdit.TextChanged;
|
||||
begin
|
||||
inherited TextChanged;
|
||||
if FFileNameChangeLock > 0 then
|
||||
Exit;
|
||||
Inc(FFileNameChangeLock);
|
||||
@ -836,6 +835,7 @@ begin
|
||||
finally
|
||||
Dec(FFileNameChangeLock);
|
||||
end;
|
||||
inherited TextChanged; //do this _after_ we have updated FFileName
|
||||
end;
|
||||
|
||||
{ TDirectoryEdit }
|
||||
|
Loading…
Reference in New Issue
Block a user