diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-23 02:03:54 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-23 02:03:54 +0000 |
commit | 35d5d932db47e9b2de51abdb9e573de39f073b40 (patch) | |
tree | 0ec92684fa1656274d8b5a16e3b6d89b82956b06 /Tools | |
parent | 23e3b888dd452900c1b3808e1d28b79f28a152bd (diff) | |
download | edk2-platforms-35d5d932db47e9b2de51abdb9e573de39f073b40.tar.xz |
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
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java b/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java index b933dac0ea..438625380e 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java @@ -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);
+ }
//---------------------------------------------------------------------------------------//
|