Changeset 18693 in josm
- Timestamp:
- 2023-03-14T22:49:24+01:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r18466 r18693 1088 1088 public void onPostLoadFromFile() { 1089 1089 setRequiresSaveToFile(false); 1090 setRequiresUploadToServer( isModified());1090 setRequiresUploadToServer(getDataSet().requiresUploadToServer()); 1091 1091 invalidate(); 1092 1092 } … … 1097 1097 public void onPostDownloadFromServer() { 1098 1098 setRequiresSaveToFile(true); 1099 setRequiresUploadToServer( isModified());1099 setRequiresUploadToServer(getDataSet().requiresUploadToServer()); 1100 1100 invalidate(); 1101 1101 } … … 1104 1104 public void onPostSaveToFile() { 1105 1105 setRequiresSaveToFile(false); 1106 setRequiresUploadToServer( isModified());1106 setRequiresUploadToServer(getDataSet().requiresUploadToServer()); 1107 1107 } 1108 1108 1109 1109 @Override 1110 1110 public void onPostUploadToServer() { 1111 setRequiresUploadToServer( isModified());1111 setRequiresUploadToServer(getDataSet().requiresUploadToServer()); 1112 1112 // keep requiresSaveToDisk unchanged 1113 1113 }
Note:
See TracChangeset
for help on using the changeset viewer.