List:Commits« Previous MessageNext Message »
From:Iggy Galarza Date:December 14 2010 2:00pm
Subject:bzr commit into wex-installer-1.0 branch (iggy:254)
View as plain text  
#At file:///C:/src/bzr.mysql/wex/installer/ based on revid:iggy@stripped

  254 Iggy Galarza	2010-12-14
      Selecting high level Product should select all of that Product's features as well.

    modified:
      WexInstaller/Controls/FeatureTreeView.cs
=== modified file 'WexInstaller/Controls/FeatureTreeView.cs'
--- a/WexInstaller/Controls/FeatureTreeView.cs	2010-11-12 19:56:12 +0000
+++ b/WexInstaller/Controls/FeatureTreeView.cs	2010-12-14 14:00:32 +0000
@@ -104,6 +104,10 @@ namespace WexInstaller.Controls
         {
             if (!p.Installed)
                 p.ProposedInstalled = !p.ProposedInstalled;
+
+            List<ProductFeature> productFeatures = p.GetProductFeatures();
+            foreach (ProductFeature pf in productFeatures)
+                pf.ProposedInstalled = p.ProposedInstalled;
         }
 
         protected override void OnDrawNode(DrawTreeNodeEventArgs e)


Attachment: [text/bzr-bundle] bzr/iggy@mysql.com-20101214140032-ljvalqghgwp5silt.bundle
Thread
bzr commit into wex-installer-1.0 branch (iggy:254) Iggy Galarza14 Dec