Changeset 31662 in osm for applications


Ignore:
Timestamp:
2015-10-23T14:01:26+02:00 (9 years ago)
Author:
zverik
Message:

Apply patch from freeExec, for a button +/-

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/AddRemoveMemberAction.java

    r30737 r31662  
    154154                if (state == 0) {
    155155//            putValue(NAME, "?");
    156                     putValue(SMALL_ICON, ImageProvider.get("relcontext", "addremove"));
     156                    putValue(LARGE_ICON_KEY, ImageProvider.get("relcontext", "addremove"));
    157157                } else {
    158158                    String iconName = state == 1 ? "add" : state == 2 ? "remove" : "addremove";
    159159                    putValue(NAME, null);
    160                     putValue(SMALL_ICON, ImageProvider.get("relcontext", iconName));
     160                    putValue(LARGE_ICON_KEY, ImageProvider.get("relcontext", iconName));
    161161                }
    162162            }
Note: See TracChangeset for help on using the changeset viewer.