Ignore:
Timestamp:
2014-06-01T14:07:18+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10086 - fix EDT violation causing freeze of Save/upload dialog for empty or conflicting layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayerTask.java

    r6830 r7204  
    4949        try {
    5050            parentMonitor.subTask(tr("Saving layer to ''{0}'' ...", layerInfo.getFile().toString()));
    51             if (!SaveAction.doSave(layerInfo.getLayer(), layerInfo.getFile())) {
     51            if (!SaveAction.doSave(layerInfo.getLayer(), layerInfo.getFile(), layerInfo.isDoCheckSaveConditions())) {
    5252                setFailed(true);
    5353                return;
Note: See TracChangeset for help on using the changeset viewer.