Changeset 4608 in josm


Ignore:
Timestamp:
2011-11-23T22:23:59+01:00 (8 years ago)
Author:
bastiK
Message:

add missing showDialog() (in currently unused code)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DiskAccessAction.java

    r2702 r4608  
    3838        fc.setMultiSelectionEnabled(multiple);
    3939        fc.setAcceptAllFileFilterUsed(false);
    40         //System.out.println("opening fc for extension " + extension);
    4140        ExtensionFileFilter.applyChoosableImportFileFilters(fc, extension);
    4241
     
    5958                dialog.setContent(tr("File exists. Overwrite?"));
    6059                dialog.setButtonIcons(new String[] {"save_as.png", "cancel.png"});
     60                dialog.showDialog();
    6161                if (dialog.getValue() != 1)
    6262                    return null;
Note: See TracChangeset for help on using the changeset viewer.