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); + } //---------------------------------------------------------------------------------------//