* lhelp - additional fix for url's loading twice

git-svn-id: trunk@26982 -
This commit is contained in:
andrew 2010-08-02 21:55:31 +00:00
parent a3ba202973
commit 147aafd3c7

View File

@ -577,7 +577,9 @@ begin
try
fContentsTree.OnSelectionChanged := nil;
if ATreeNode.Url <> '' then begin
DoLoadUri(MakeURI(ATreeNode.Url, fChm));
Uri := MakeURI(ATreeNode.Url, fChm);
if ((fHtml.MasterFrame <> nil) and (MakeURI(fHtml.CurURL, fChm) = Uri)) = False then
DoLoadUri(MakeURI(ATreeNode.Url, fChm));
end;
finally
fContentsTree.OnSelectionChanged := @ContentsTreeSelectionChanged;