Changeset 5807 in josm for trunk/src


Ignore:
Timestamp:
2013-03-28T18:08:03+01:00 (12 years ago)
Author:
akks
Message:

see #8552: Move Imagery offset action to the top of Imagery menu

File:
1 edited

Legend:

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

    r5803 r5807  
    8181    private JMenuItem offsetMenuItem = singleOffset;
    8282    private Map_Rectifier_WMSmenuAction rectaction = new Map_Rectifier_WMSmenuAction();
    83     private boolean bottomItemAdded = false;
    8483
    8584    public ImageryMenu() {
     
    118117    public void refreshImageryMenu() {
    119118        removeDynamicItems();
     119
     120        addDynamic(offsetMenuItem);
     121        addDynamicSeparator();
    120122
    121123        // for each configured ImageryInfo, add a menu entry.
     
    162164        addDynamicSeparator();
    163165        addDynamic(rectaction);
    164 
    165         addDynamicSeparator();
    166         addDynamic(offsetMenuItem);
    167166    }
    168167
Note: See TracChangeset for help on using the changeset viewer.