Ignore:
Timestamp:
2015-06-19T12:41:04+02:00 (10 years ago)
Author:
nokutu
Message:

Soved bugs when downloading, user and timestamp not changing

Location:
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryZoomAction.java

    r31278 r31282  
    4747            MapillaryAbstractImage newImage) {
    4848        if (oldImage == null && newImage != null)
    49             MapillaryPlugin.ZOOM_MENU.setEnabled(true);
     49            MapillaryPlugin.setMenuEnabled(MapillaryPlugin.ZOOM_MENU, true);
    5050        else if (oldImage != null && newImage == null)
    51             MapillaryPlugin.ZOOM_MENU.setEnabled(false);
     51            MapillaryPlugin.setMenuEnabled(MapillaryPlugin.ZOOM_MENU, false);
    5252    }
    5353}
  • TabularUnified applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryImageInfoDownloaderThread.java

    r31278 r31282  
    5353                            ((MapillaryImage) image).setCapturedAt(data
    5454                                    .getJsonNumber("captured_at").longValue());
    55                             ((MapillaryImage) image).setLocation(data
    56                                     .getString("location"));
    5755                        }
    5856                    }
  • TabularUnified applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryToggleDialog.java

    r31278 r31282  
    148148            if (this.image == null) {
    149149                mapillaryImageDisplay.setImage(null);
    150                 titleBar.setTitle(tr(BASE_TITLE));
     150                setTitle(tr(BASE_TITLE));
    151151                disableAllButtons();
    152152                return;
     
    160160                if (mapillaryImage.getCapturedAt() != 0)
    161161                    title += " -- " + mapillaryImage.getDate();
    162                 titleBar.setTitle(title);
     162                setTitle(title);
    163163                if (mode == NORMAL_MODE) {
    164164                    this.nextButton.setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.