- Timestamp:
- 2014-10-28T21:48:28+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CreateMultipolygonAction.java
r7423 r7666 65 65 public CreateMultipolygonAction(final boolean update) { 66 66 super(getName(update), "multipoly_create", getName(update), 67 update ? Shortcut.registerShortcut("tools:multipoly_update", tr("Tool: {0}", getName(true)), KeyEvent.VK_B, Shortcut.CTRL_SHIFT) 68 : Shortcut.registerShortcut("tools:multipoly_create", tr("Tool: {0}", getName(false)), KeyEvent.VK_B, Shortcut.CTRL), 67 /* atleast three lines for each shortcut or the server extractor fails */ 68 update ? Shortcut.registerShortcut("tools:multipoly_update", 69 tr("Tool: {0}", getName(true)), 70 KeyEvent.VK_B, Shortcut.CTRL_SHIFT) 71 : Shortcut.registerShortcut("tools:multipoly_create", 72 tr("Tool: {0}", getName(false)), 73 KeyEvent.VK_B, Shortcut.CTRL), 69 74 true, update ? "multipoly_update" : "multipoly_create", true); 70 75 this.update = update;
Note:
See TracChangeset
for help on using the changeset viewer.