OSDN Git Service

AppliStation-GUI,インストール確認ダイアログで、依存関係上必要なソフトを選択しなかったのの認識失敗のバグ修正
[applistation/AppliStation.git] / AppliStation / InstallationConfirmForm.cs
index 55c7f22..fa04ecb 100644 (file)
@@ -294,8 +294,14 @@ namespace AppliStation
                private uint checkUnselectedDependencies()\r
                {\r
                        uint retVal = 0;\r
+                       \r
+                       List<Package> instPkgs = new List<Package>();\r
+                       foreach (Installation inst in Installations) {\r
+                               instPkgs.Add(inst.InstalledPackage);\r
+                       }\r
+                       \r
                        List<Package> pkg = new List<Package>();\r
-                       foreach (Installation inst in DependeciesResolver.CreateRequiresInstallations(CheckedInstallations, pkgListMan)) {\r
+                       foreach (Installation inst in DependeciesResolver.CreateRequiresInstallations(CheckedInstallations, pkgListMan, instPkgs)) {\r
                                pkg.Add(inst.InstalledPackage);\r
                        }\r
                        \r