Changeset 31282 in osm
- Timestamp:
- 2015-06-19T12:41:04+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryZoomAction.java
r31278 r31282 47 47 MapillaryAbstractImage newImage) { 48 48 if (oldImage == null && newImage != null) 49 MapillaryPlugin. ZOOM_MENU.setEnabled(true);49 MapillaryPlugin.setMenuEnabled(MapillaryPlugin.ZOOM_MENU, true); 50 50 else if (oldImage != null && newImage == null) 51 MapillaryPlugin. ZOOM_MENU.setEnabled(false);51 MapillaryPlugin.setMenuEnabled(MapillaryPlugin.ZOOM_MENU, false); 52 52 } 53 53 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryImageInfoDownloaderThread.java
r31278 r31282 53 53 ((MapillaryImage) image).setCapturedAt(data 54 54 .getJsonNumber("captured_at").longValue()); 55 ((MapillaryImage) image).setLocation(data56 .getString("location"));57 55 } 58 56 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryToggleDialog.java
r31278 r31282 148 148 if (this.image == null) { 149 149 mapillaryImageDisplay.setImage(null); 150 titleBar.setTitle(tr(BASE_TITLE));150 setTitle(tr(BASE_TITLE)); 151 151 disableAllButtons(); 152 152 return; … … 160 160 if (mapillaryImage.getCapturedAt() != 0) 161 161 title += " -- " + mapillaryImage.getDate(); 162 titleBar.setTitle(title);162 setTitle(title); 163 163 if (mode == NORMAL_MODE) { 164 164 this.nextButton.setEnabled(true);
Note:
See TracChangeset
for help on using the changeset viewer.