Ignore:
Timestamp:
2014-01-02T00:58:33+01:00 (10 years ago)
Author:
simon04
Message:

fix #8969 fix #9394 - add "Do not show again (this session)" choice, and in addition "Do not show again (this operation)" if a bulk operation has been marked in the code

The dialog displays 3 or 4 radio boxes with the labels:

  • "Show this dialog again the next time"
  • "Do not show again (this operation)"
  • "Do not show again (this session)"
  • "Do not show again (remembers choice)"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r6361 r6594  
    768768                return primitives;
    769769            List<OsmPrimitive> ret = new ArrayList<OsmPrimitive>();
     770            ConditionalOptionPaneUtil.startBulkOperation("add_primitive_to_relation");
    770771            for (OsmPrimitive primitive : primitives) {
    771772                if (primitive instanceof Relation && getRelation() != null && getRelation().equals(primitive)) {
     
    782783                }
    783784            }
     785            ConditionalOptionPaneUtil.endBulkOperation("add_primitive_to_relation");
    784786            return ret;
    785787        }
Note: See TracChangeset for help on using the changeset viewer.