Changeset 5492 in josm for trunk/src/org


Ignore:
Timestamp:
2012-09-01T20:48:50+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #8028 - JFileChooser not working in dialog used to add an active preset source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java

    r5438 r5492  
    752752
    753753            public void actionPerformed(ActionEvent e) {
    754                 JFileChooserManager fcm = new JFileChooserManager(true);
     754                JFileChooserManager fcm = new JFileChooserManager(true).createFileChooser();
    755755                prepareFileChooser(tfURL.getText(), fcm.getFileChooser());
    756756                JFileChooser fc = fcm.openFileChooser(JOptionPane.getFrameForComponent(SourceEditor.this));
Note: See TracChangeset for help on using the changeset viewer.