Changeset 2887 in josm for trunk


Ignore:
Timestamp:
2010-01-24T00:50:17+01:00 (10 years ago)
Author:
bastiK
Message:

fixed #4422 - wrong filename in the titlebar of the "geotagged images" window

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r2871 r2887  
    484484    public void setTitle(String title) {
    485485        titleBar.setTitle(title);
     486        if (detachedDialog != null) {
     487            detachedDialog.setTitle(title);
     488        }
    486489    }
    487490
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java

    r2711 r2887  
    239239        if (entry != null) {
    240240            imgDisplay.setImage(entry.file);
    241             titleBar.setTitle("Geotagged Images" + (entry.file != null ? " - " + entry.file.getName() : ""));
     241            setTitle("Geotagged Images" + (entry.file != null ? " - " + entry.file.getName() : ""));
    242242            StringBuffer osd = new StringBuffer(entry.file != null ? entry.file.getName() : "");
    243243            if (entry.getElevation() != null) {
Note: See TracChangeset for help on using the changeset viewer.