Changeset 7047 in josm
- Timestamp:
- 2014-05-02T02:25:36+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
r7005 r7047 14 14 /** 15 15 * Ancestor for all actions that want to work with relation collection and 16 * to be disabled i sthe collection is empty16 * to be disabled if the collection is empty 17 17 * @since 5793 18 18 */ -
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r7005 r7047 29 29 import org.openstreetmap.josm.Main; 30 30 import org.openstreetmap.josm.actions.AutoScaleAction; 31 import org.openstreetmap.josm.actions.relation.EditRelationAction; 31 32 import org.openstreetmap.josm.command.Command; 32 33 import org.openstreetmap.josm.data.SelectionChangedListener; … … 92 93 93 94 popupMenuHandler.addAction(Main.main.menu.autoScaleActions.get("problem")); 95 popupMenuHandler.addAction(new EditRelationAction()); 94 96 95 97 tree = new ValidatorTreePanel(); … … 503 505 selectButton.setEnabled(false); 504 506 505 boolean hasFixes = setSelection(null, false); 507 Collection<OsmPrimitive> sel = new HashSet<>(); 508 boolean hasFixes = setSelection(sel, true); 506 509 fixButton.setEnabled(hasFixes); 510 popupMenuHandler.setPrimitives(sel); 507 511 if (Main.map != null) { 508 512 Main.map.repaint();
Note:
See TracChangeset
for help on using the changeset viewer.