Updated open file dialog to default to current directory

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@151 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
Jared Gould 2006-07-15 04:30:13 +00:00
parent 3457e22e1b
commit 2761e760df
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class DefinitionManager extends javax.swing.JFrame implements ActionListe
}
public void addFile() {
JFileChooser fc = new JFileChooser();
JFileChooser fc = new JFileChooser("./");
fc.setFileFilter(new XMLFilter());
if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {