Changeset 18941 in josm
- Timestamp:
- 2024-01-19T09:06:03+01:00 (11 months ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
r18752 r18941 123 123 AbstractModifiableLayer odl = (AbstractModifiableLayer) l; 124 124 if (odl.isModified() && 125 ( (!odl.isSavable() && !odl.isUploadable()) ||125 (odl.isSavable() || odl.isUploadable() || 126 126 odl.requiresSaveToFile() || 127 127 odl.requiresUploadToServer())) { -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
r18871 r18941 744 744 mapModeListener = (oldMapMode, newMapMode) -> { 745 745 MapView mapView = MainApplication.getMap().mapView; 746 mapView.removeMouseListener(mouseAdapter); 747 mapView.removeMouseMotionListener(mouseMotionAdapter); 746 748 if (newMapMode == null || isSupportedMapMode(newMapMode)) { 747 749 mapView.addMouseListener(mouseAdapter); 748 750 mapView.addMouseMotionListener(mouseMotionAdapter); 749 } else {750 mapView.removeMouseListener(mouseAdapter);751 mapView.removeMouseMotionListener(mouseMotionAdapter);752 751 } 753 752 };
Note:
See TracChangeset
for help on using the changeset viewer.