Skip to content

Commit

Permalink
[DYN-8019] Fix package - install to folder function. (DynamoDS#15826)
Browse files Browse the repository at this point in the history
  • Loading branch information
reddyashish authored Feb 13, 2025
1 parent 171e233 commit b00145d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@ private void PopulateMyPackages()
var p = GetSearchElementViewModel(pkg, true);

p.RequestDownload += this.PackageOnExecuted;
p.RequestShowFileDialog += this.OnRequestShowFileDialog;
p.IsOnwer = true;

myPackages.Add(p);
Expand Down Expand Up @@ -1239,6 +1238,8 @@ internal void RefreshInfectedPackages()
internal void AddToSearchResults(PackageManagerSearchElementViewModel element)
{
element.RequestDownload += this.PackageOnExecuted;
element.RequestShowFileDialog += this.OnRequestShowFileDialog;

this.SearchResults.Add(element);
}

Expand Down Expand Up @@ -1479,9 +1480,6 @@ internal IEnumerable<PackageManagerSearchElementViewModel> GetAllPackages()
list.Reverse();
}

foreach (var x in list)
x.RequestShowFileDialog += OnRequestShowFileDialog;

return list;
}

Expand Down

0 comments on commit b00145d

Please sign in to comment.