Changeset 14153 in josm for trunk/src/org/openstreetmap/josm/actions/relation
- Timestamp:
- 2018-08-13T02:18:54+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/EditRelationAction.java
r13957 r14153 12 12 import javax.swing.JOptionPane; 13 13 14 import org.openstreetmap.josm.Main;15 14 import org.openstreetmap.josm.data.osm.IRelation; 16 15 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 78 77 if (filteredRelations.size() > Config.getPref().getInt("warn.open.maxrelations", 5) && 79 78 /* I18N english text for value 1 makes no real sense, never called for values <= maxrel (usually 5) */ 80 JOptionPane.OK_OPTION != JOptionPane.showConfirmDialog(Main .parent,79 JOptionPane.OK_OPTION != JOptionPane.showConfirmDialog(MainApplication.getMainFrame(), 81 80 "<html>"+trn("You are about to open <b>{0}</b> different relation editor simultaneously.<br/>Do you want to continue?", 82 81 "You are about to open <b>{0}</b> different relation editors simultaneously.<br/>Do you want to continue?",
Note:
See TracChangeset
for help on using the changeset viewer.