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:
parent
fa7fade567
commit
0b79376fa6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user