mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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:
parent
23e3b888dd
commit
35d5d932db
@ -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);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------//
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user