mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:19:36 +02:00
LCL: Fix a regression in TSTringGrid caused by r63541 #1f0ff07dc2. Test for Editor.Parent instead of Editor.Owner.
git-svn-id: trunk@63571 -
This commit is contained in:
parent
f70ef40567
commit
e2840b9665
@ -8414,7 +8414,7 @@ begin
|
||||
begin
|
||||
FEditorMode := False;
|
||||
FGridState := gsNormal;
|
||||
if Editor.Owner<>nil then // May be nil when the form is closing.
|
||||
if Editor.Parent<>nil then // May be nil when the form is closing.
|
||||
begin
|
||||
WasFocused := Editor.Focused;
|
||||
{$ifdef dbgGrid}DebugLnEnter('EditorHide [',Editor.ClassName,'] INIT FCol=',IntToStr(FCol),' FRow=',IntToStr(FRow));{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user