mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:09:20 +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
|
begin
|
||||||
FEditorMode := False;
|
FEditorMode := False;
|
||||||
FGridState := gsNormal;
|
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
|
begin
|
||||||
WasFocused := Editor.Focused;
|
WasFocused := Editor.Focused;
|
||||||
{$ifdef dbgGrid}DebugLnEnter('EditorHide [',Editor.ClassName,'] INIT FCol=',IntToStr(FCol),' FRow=',IntToStr(FRow));{$endif}
|
{$ifdef dbgGrid}DebugLnEnter('EditorHide [',Editor.ClassName,'] INIT FCol=',IntToStr(FCol),' FRow=',IntToStr(FRow));{$endif}
|
||||||
|
Loading…
Reference in New Issue
Block a user