Changeset 11677 in josm


Ignore:
Timestamp:
2017-03-05T00:36:32+01:00 (6 months ago)
Author:
Don-vip
Message:

fix #14457 - CCE in imagery menu (regression from r11654)

File:
1 edited

Legend:

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

    r11657 r11677  
    11311131     */
    11321132    public Action unregister(Action action) {
    1133         String toolbar = (String) action.getValue("toolbar");
    1134         if (toolbar != null) {
     1133        Object toolbar = action.getValue("toolbar");
     1134        if (toolbar instanceof String) {
    11351135            return regactions.remove(toolbar);
    11361136        }
Note: See TracChangeset for help on using the changeset viewer.