mirror of https://github.com/rusefi/RomRaider.git
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:
parent
3457e22e1b
commit
2761e760df
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue