* Always set tree name on load, even if empty

This commit is contained in:
Michaël Van Canneyt 2023-01-05 12:49:17 +01:00
parent 8448f250e8
commit 12136ddf92

View File

@ -161,11 +161,8 @@ begin
IDEInstantSearchManager.StartMarkProjectTimer(aProject);
end;
end;
if aTreeID<>'' then
begin
IDEInstantSearchManager.ProjectTreeName:=aTreeID;
IDEInstantSearchManager.SearchProject:=True;
end;
IDEInstantSearchManager.ProjectTreeName:=aTreeID;
IDEInstantSearchManager.SearchProject:=(aTreeID<>'');
if Assigned(InstantSearchForm) then
InstantSearchForm.ActiveProjectChanged;
end;