mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 17:40:30 +02:00
project groups: dbl click on dependency open package editor
git-svn-id: trunk@50434 -
This commit is contained in:
parent
318abf35d9
commit
c3f4f32972
@ -530,7 +530,7 @@ end;
|
||||
procedure TProjectGroupEditorForm.TVPGDblClick(Sender: TObject);
|
||||
Var
|
||||
ND: TNodeData;
|
||||
aFilename: String;
|
||||
aFilename, PkgName: String;
|
||||
PG: TProjectGroup;
|
||||
begin
|
||||
ND:=SelectedNodeData;
|
||||
@ -563,8 +563,13 @@ begin
|
||||
end;
|
||||
ntDependency:
|
||||
begin
|
||||
// ToDo: open package editor
|
||||
|
||||
// open package editor
|
||||
PkgName:=ND.Value;
|
||||
if PackageEditingInterface.DoOpenPackageWithName(PkgName,[pofAddToRecent],false)<>mrOk
|
||||
then begin
|
||||
IDEMessageDialog('Package not found','Package "'+PkgName+'" not found.',mtError,[mbOk]);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user