Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r9266 r9438 9 9 import java.awt.Dimension; 10 10 import java.awt.FlowLayout; 11 import java.awt.GraphicsEnvironment; 11 12 import java.awt.GridBagConstraints; 12 13 import java.awt.GridBagLayout; … … 770 771 for (OsmPrimitive p : primitivesToAdd) { 771 772 if (p instanceof Relation && orig.equals(p)) { 772 warnOfCircularReferences(p); 773 if (!GraphicsEnvironment.isHeadless()) { 774 warnOfCircularReferences(p); 775 } 773 776 continue; 774 777 } else if (MemberTableModel.hasMembersReferringTo(relation.getMembers(), Collections.singleton(p))
Note:
See TracChangeset
for help on using the changeset viewer.