Changeset 32577 in osm for applications/editors/josm


Ignore:
Timestamp:
2016-07-05T14:48:56+02:00 (8 years ago)
Author:
floscher
Message:

[mapillary] Add dialog displaying the current changeset and a button for uploading that changeset

Patch submitted by peterneubauer<peter@…>.

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin.java

    r32378 r32577  
    2727import org.openstreetmap.josm.plugins.mapillary.actions.MapillaryWalkAction;
    2828import org.openstreetmap.josm.plugins.mapillary.actions.MapillaryZoomAction;
     29import org.openstreetmap.josm.plugins.mapillary.gui.MapillaryChangesetDialog;
    2930import org.openstreetmap.josm.plugins.mapillary.gui.MapillaryFilterDialog;
    3031import org.openstreetmap.josm.plugins.mapillary.gui.MapillaryHistoryDialog;
     
    219220      Main.map.addToggleDialog(MapillaryMainDialog.getInstance(), false);
    220221      Main.map.addToggleDialog(MapillaryHistoryDialog.getInstance(), false);
     222      if (Main.pref.getBoolean("mapillary.developer")) {
     223        Main.map.addToggleDialog(MapillaryChangesetDialog.getInstance(), false);
     224      }
    221225      Main.map.addToggleDialog(MapillaryFilterDialog.getInstance(), false);
    222226      setMenuEnabled(downloadMenu, true);
     
    229233      MapillaryMainDialog.destroyInstance();
    230234      MapillaryHistoryDialog.destroyInstance();
     235      MapillaryChangesetDialog.destroyInstance();
    231236      MapillaryFilterDialog.destroyInstance();
    232237      setMenuEnabled(downloadMenu, false);
Note: See TracChangeset for help on using the changeset viewer.