Changeset 3706 in josm for trunk/src/org


Ignore:
Timestamp:
2010-12-07T12:49:44+01:00 (14 years ago)
Author:
bastiK
Message:

change button order

File:
1 edited

Legend:

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

    r3705 r3706  
    141141        buttonPanel.add(new SideButton(showHideLayerAction));
    142142
     143        //-- layer opacity action
     144        LayerOpacityAction layerOpacityAction = new LayerOpacityAction();
     145        adaptTo(layerOpacityAction, selectionModel);
     146        opacityButton = new SideButton(layerOpacityAction);
     147        buttonPanel.add(opacityButton);
     148
    143149        // -- merge layer action
    144150        MergeAction mergeLayerAction = new MergeAction();
     
    158164        adaptTo(deleteLayerAction, selectionModel);
    159165        buttonPanel.add(new SideButton(deleteLayerAction, false));
    160 
    161         //-- layer opacity action
    162         LayerOpacityAction layerOpacityAction = new LayerOpacityAction();
    163         adaptTo(layerOpacityAction, selectionModel);
    164         opacityButton = new SideButton(layerOpacityAction);
    165         buttonPanel.add(opacityButton);
    166166
    167167        return buttonPanel;
Note: See TracChangeset for help on using the changeset viewer.