Only allow to choose directory when choosing old code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1357 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -114,8 +114,8 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList
|
||||
add(logScrollPane);
|
||||
|
||||
fc = new JFileChooser();
|
||||
fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
|
||||
}
|
||||
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------//
|
||||
|
||||
|
Reference in New Issue
Block a user