Changeset 23889 in osm for applications/editors/josm
- Timestamp:
- 2010-10-27T23:42:42+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/multipoly/src/multipoly/MultipolyAction.java
r23885 r23889 74 74 Relation relation = this.createRelation(polygon); 75 75 76 //open relation edit window, if set up in preferences77 76 if (Main.pref.getBoolean("multipoly.show-relation-editor", false)) { 77 //Open relation edit window, if set up in preferences 78 78 RelationEditor editor = RelationEditor.getEditor(Main.main.getEditLayer(), relation, null); 79 79 editor.setVisible(true); 80 } else { 81 //Just add the relation 82 Main.main.undoRedo.add(new AddCommand(relation)); 83 Main.map.repaint(); 80 84 } 81 85 }
Note:
See TracChangeset
for help on using the changeset viewer.