Ignore:
Timestamp:
2012-02-08T22:31:29+01:00 (12 years ago)
Author:
simon04
Message:

fix #7327 - show hint in undo-menu which action will be undone (from event stack)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JosmAction.java

    r4733 r4908  
    7474            Main.registerActionShortcut(this, sc);
    7575        }
    76         putValue(SHORT_DESCRIPTION, Main.platform.makeTooltip(tooltip, sc));
     76        setTooltip(tooltip);
    7777        if (getValue("toolbar") == null) {
    7878            putValue("toolbar", toolbarId == null ? iconName : toolbarId);
     
    119119        }
    120120        putValue("help", helpId);
     121    }
     122
     123    public void setTooltip(String tooltip) {
     124        putValue(SHORT_DESCRIPTION, Main.platform.makeTooltip(tooltip, sc));
    121125    }
    122126
Note: See TracChangeset for help on using the changeset viewer.