[izpack-changes] r1785 - izpack-src/branches/3.10/src/lib/com/izforge/izpack/installer

noreply at berlios.de noreply at berlios.de
Wed Mar 14 16:44:21 CET 2007


Author: vralev
Date: 2007-03-14 16:44:15 +0100 (Wed, 14 Mar 2007)
New Revision: 1785

Modified:
   izpack-src/branches/3.10/src/lib/com/izforge/izpack/installer/InstallerFrame.java
Log:
Fix multiple validation error messages while skipping dialogs.

Modified: izpack-src/branches/3.10/src/lib/com/izforge/izpack/installer/InstallerFrame.java
===================================================================
--- izpack-src/branches/3.10/src/lib/com/izforge/izpack/installer/InstallerFrame.java	2007-03-14 09:14:41 UTC (rev 1784)
+++ izpack-src/branches/3.10/src/lib/com/izforge/izpack/installer/InstallerFrame.java	2007-03-14 15:44:15 UTC (rev 1785)
@@ -1427,6 +1427,10 @@
             boolean isValid = 
               ((IzPanel) installdata.panels.get(last)).isValidated();
           
+            // if this is not here, validation will
+            // occur mutilple times while skipping panels through the recursion
+            if(!isValid) return; 
+            
             installdata.curPanelNumber++;
             if (!canShow(installdata.curPanelNumber))
             {




More information about the izpack-changes mailing list