Changeset 2665 in josm


Ignore:
Timestamp:
2009-12-20T12:13:55+01:00 (10 years ago)
Author:
bastiK
Message:

fixed #4122 - Apply role button is missing

Location:
trunk
Files:
1 added
1 edited

Legend:

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

    r2626 r2665  
    321321        );
    322322        tfRole.setEnabled(memberTable.getSelectedRowCount() > 0);
     323        SideButton btnApply = new SideButton(setRoleAction);
     324        btnApply.setPreferredSize(new Dimension(20,20));
     325        btnApply.setText("");
     326        p3.add(btnApply);
    323327
    324328        gc.gridx = 1;
     
    12581262        public SetRoleAction() {
    12591263            putValue(SHORT_DESCRIPTION, tr("Sets a role for the selected members"));
    1260             // FIXME: find better icon
    1261             putValue(SMALL_ICON, ImageProvider.get("ok"));
     1264            putValue(SMALL_ICON, ImageProvider.get("apply"));
    12621265            putValue(NAME, tr("Apply Role"));
    12631266            refreshEnabled();
Note: See TracChangeset for help on using the changeset viewer.