IDE: fixed Help button of options dialog

git-svn-id: trunk@23520 -
This commit is contained in:
mattias 2010-01-21 15:17:57 +00:00
parent 5ce50bc416
commit 0c05d303b6

View File

@ -107,7 +107,10 @@ end;
procedure TIDEOptionsDialog.HelpButtonClick(Sender: TObject);
begin
ShowContextHelpForIDE(Self);
if PrevEditor<>nil then
ShowContextHelpForIDE(PrevEditor)
else
ShowContextHelpForIDE(Self);
end;
procedure TIDEOptionsDialog.CategoryTreeChange(Sender: TObject;