Changeset 7660 in josm
- Timestamp:
- 2014-10-27T22:25:25+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r7619 r7660 280 280 imgDisplay.setImage(entry.getFile(), entry.getExifOrientation()); 281 281 } 282 setTitle( "Geotagged Images"+ (entry.getFile() != null ? " - " + entry.getFile().getName() : ""));282 setTitle(tr("Geotagged Images") + (entry.getFile() != null ? " - " + entry.getFile().getName() : "")); 283 283 StringBuilder osd = new StringBuilder(entry.getFile() != null ? entry.getFile().getName() : ""); 284 284 if (entry.getElevation() != null) { … … 301 301 imgDisplay.setOsdText(osd.toString()); 302 302 } else { 303 // if this method is called to reinitialize dialog content with a blank image, 304 // do not actually show the dialog again with a blank image if currently hidden (fix #10672) 305 setTitle(tr("Geotagged Images")); 303 306 imgDisplay.setImage(null, null); 304 307 imgDisplay.setOsdText(""); 308 return; 305 309 } 306 310 if (! isDialogShowing()) {
Note: See TracChangeset
for help on using the changeset viewer.