Ignore:
Timestamp:
2009-12-05T17:54:49+01:00 (14 years ago)
Author:
bastiK
Message:

Adjusted toggle dialog behavior for geoimage:

  • When click on a thumbnail, show the detached dialog unless the side dialog is already open.
  • When closing the detached dialog do not open it in the side dialog again, just close.
  • When the toggle button is clicked, always open the side dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r2566 r2577  
    322322                    return;
    323323                }
    324                 JFileChooser fc = new JFileChooser(Main.pref.get("tagimages.lastdirectory"));
     324                JFileChooser fc = new JFileChooser(Main.pref.get("tagimages.lastdirectory", Main.pref.get("lastDirectory")));
    325325                fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
    326326                fc.setMultiSelectionEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.