Changeset 8248 in josm
- Timestamp:
- 2015-04-23T00:38:22+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java
r8061 r8248 20 20 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 21 21 import org.openstreetmap.josm.gui.widgets.AbstractFileChooser; 22 import org.openstreetmap.josm.gui.widgets.FileChooserManager; 22 23 import org.openstreetmap.josm.io.FileExporter; 23 24 import org.openstreetmap.josm.tools.Shortcut; … … 176 177 } 177 178 file = new File(fn); 178 if (!confirmOverwrite(file)) 179 // Confirm overwrite, except for OSX native file dialogs which already ask for confirmation (see #11362) 180 if (!(Main.isPlatformOsx() && FileChooserManager.PROP_USE_NATIVE_FILE_DIALOG.get()) && !confirmOverwrite(file)) 179 181 return null; 180 182 }
Note:
See TracChangeset
for help on using the changeset viewer.