ListView: Fixed SIGSEGV when switching to other WinControl when default editor is opened. Issue #38627

git-svn-id: trunk@65139 -
This commit is contained in:
michl 2021-05-26 20:17:44 +00:00
parent 9eb3d04915
commit cded431fef

View File

@ -869,7 +869,7 @@ end;
procedure TCustomListView.QueuedShowEditor(Data: PtrInt);
begin
if fShowEditorQueued then
if fShowEditorQueued and IsVisible then
begin
fShowEditorQueued:=false;
ShowEditor;