Changeset 12279 in josm for trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
- Timestamp:
- 2017-05-30T15:12:36+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r11553 r12279 61 61 62 62 protected static boolean confirmChangeDirectionOfWays() { 63 ExtendedDialog ed =new ExtendedDialog(Main.parent,63 return new ExtendedDialog(Main.parent, 64 64 tr("Change directions?"), 65 new String[] {tr("Reverse and Combine"), tr("Cancel")});66 ed.setButtonIcons(new String[] {"wayflip", "cancel"});67 ed.setContent(tr("The ways can not be combined in their current directions. "68 + "Do you want to reverse some of them?")) ;69 ed.toggleEnable("combineway-reverse");70 ed.showDialog();71 return ed.getValue() == 1;65 tr("Reverse and Combine"), tr("Cancel")) 66 .setButtonIcons("wayflip", "cancel") 67 .setContent(tr("The ways can not be combined in their current directions. " 68 + "Do you want to reverse some of them?")) 69 .toggleEnable("combineway-reverse") 70 .showDialog() 71 .getValue() == 1; 72 72 } 73 73
Note:
See TracChangeset
for help on using the changeset viewer.