summaryrefslogtreecommitdiff
path: root/Tools/Source/MigrationTools
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-23 02:03:54 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-23 02:03:54 +0000
commit35d5d932db47e9b2de51abdb9e573de39f073b40 (patch)
tree0ec92684fa1656274d8b5a16e3b6d89b82956b06 /Tools/Source/MigrationTools
parent23e3b888dd452900c1b3808e1d28b79f28a152bd (diff)
downloadedk2-35d5d932db47e9b2de51abdb9e573de39f073b40.zip
edk2-35d5d932db47e9b2de51abdb9e573de39f073b40.tar.gz
edk2-35d5d932db47e9b2de51abdb9e573de39f073b40.tar.bz2
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/Source/MigrationTools')
-rw-r--r--Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java4
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 b933dac..4386253 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);
+ }
//---------------------------------------------------------------------------------------//