mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 09:40:28 +02:00
LCL: check also for csDestroying component state in Grid when setting edit test.
git-svn-id: trunk@40198 -
This commit is contained in:
parent
eab5aa8fb5
commit
248c598499
@ -7359,7 +7359,8 @@ var
|
||||
CurValue,NewValue: string;
|
||||
begin
|
||||
result := true;
|
||||
if not (csDesigning in ComponentState) and (Editor<>nil) and Editor.Visible then begin
|
||||
if (([csDesigning, csDestroying] * ComponentState) = [])
|
||||
and (Editor<>nil) and Editor.Visible then begin
|
||||
|
||||
if validate then begin
|
||||
CurValue := GetCells(FCol,FRow);
|
||||
|
Loading…
Reference in New Issue
Block a user