[izpack-changes] r1727 - in izpack-src/branches/3.10: . src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Thu Feb 8 19:25:16 CET 2007


Author: miraodb
Date: 2007-02-08 19:24:44 +0100 (Thu, 08 Feb 2007)
New Revision: 1727

Modified:
   izpack-src/branches/3.10/Versions.txt
   izpack-src/branches/3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
Log:
Packages that are not marked as preselected must also be removed from the selectedPacks (FM)

Modified: izpack-src/branches/3.10/Versions.txt
===================================================================
--- izpack-src/branches/3.10/Versions.txt	2007-02-06 15:58:59 UTC (rev 1726)
+++ izpack-src/branches/3.10/Versions.txt	2007-02-08 18:24:44 UTC (rev 1727)
@@ -4,6 +4,8 @@
 	> 3.10.1 (build 2007.xx.xx)
 	
 -	Fixed NPE for pack.id == null (Fabrice Mirabile)
+- Packages that are not marked as preselected must
+	also be removed from the selectedPacks (Martina Angela Albrecht, via Fabrice Mirabile)
 
   > 3.10.0 (build 2007.01.29)
 

Modified: izpack-src/branches/3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
===================================================================
--- izpack-src/branches/3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java	2007-02-06 15:58:59 UTC (rev 1726)
+++ izpack-src/branches/3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java	2007-02-08 18:24:44 UTC (rev 1727)
@@ -271,7 +271,7 @@
         while( iter.hasNext() )
         {
             Pack p = (Pack) iter.next();
-            if( data.packNames.contains(p.name) == false )
+            if( data.packNames.contains(p.name) == false || !p.preselected)
             {
                 iter.remove();
                 Debug.trace("Removed selectedPack: "+p.name);




More information about the izpack-changes mailing list