Lazarus trunk fix (Thanks Juha Maninnen)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa 2014-08-13 10:01:56 +00:00
parent fa7fade567
commit 0b79376fa6

View File

@ -1411,7 +1411,7 @@ begin
if ( prjFile = nil ) then begin
dlgRes := MessageDlg(Self.Caption,'Add this type library to the current project ?',mtConfirmation,mbYesNo,0);
if ( dlgRes = mrYes ) then begin
LazarusIDE.DoOpenEditorFile(FCurrentFileName,-1,[ofAddToProject]);
LazarusIDE.DoOpenEditorFile(FCurrentFileName,-1,-1,[ofAddToProject]);
end;
end;
end;