Permalink
Browse files

Try to fix access violation in table designer, after click on "Add co…

  • Loading branch information...
ansgarbecker committed Sep 30, 2018
1 parent e8cbf29 commit e2ff5788344ebf3a474e421f12e9771035c53e13
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/grideditlinks.pas
View
@@ -1067,7 +1067,7 @@ destructor TInplaceEditorLink.Destroy;
begin
if Assigned(FTextEditor) then
FTextEditor.Release;
if not (csDestroying in FPanel.ComponentState) then
if not ((csDestroying in FPanel.ComponentState) or (csCreating in FPanel.ControlState)) then
FPanel.Free;
inherited;
end;

0 comments on commit e2ff578

Please sign in to comment.