IDE: source editor: fixed closing incremental find on closing file, bug #11489

git-svn-id: trunk@15537 -
This commit is contained in:
mattias 2008-06-23 12:33:43 +00:00
parent 8be0e41f40
commit ab9bf34019

View File

@ -5669,6 +5669,7 @@ begin
TempEditor:=FindSourceEditorWithPageIndex(PageIndex);
if TempEditor=nil then exit;
Visible:=true;
EndIncrementalFind;
TempEditor.Close;
TempEditor.Free;
if Notebook.PageCount>1 then