[izpack-changes] izpack-src/src/lib/com/izforge/izpack/panels UserInputPanel.java,1.42.4.3,1.42.4.4

miraodb nobody at sheep.berlios.de
Fri Jan 13 17:36:26 CET 2006


Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/panels
In directory sheep:/tmp/cvs-serv31540/src/lib/com/izforge/izpack/panels

Modified Files:
      Tag: branch-3-8
	UserInputPanel.java 
Log Message:
Fixes from Olivier Kiddle (FM)

Index: UserInputPanel.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/panels/UserInputPanel.java,v
retrieving revision 1.42.4.3
retrieving revision 1.42.4.4
diff -u -d -r1.42.4.3 -r1.42.4.4
--- UserInputPanel.java	12 Jan 2006 09:45:08 -0000	1.42.4.3
+++ UserInputPanel.java	13 Jan 2006 16:36:24 -0000	1.42.4.4
@@ -2728,7 +2728,7 @@
             {
                 JFileChooser chooser = new JFileChooser();
 
-                if (this.searchType == RESULT_DIRECTORY)
+                if (this.resultType != TYPE_FILE)
                     chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
 
                 int result = chooser.showOpenDialog(this.parent);




More information about the izpack-changes mailing list