Changeset 3656 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2010-11-15T00:02:20+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddNodeAction.java
r3363 r3656 20 20 */ 21 21 public final class AddNodeAction extends JosmAction { 22 // remember input from last time 23 private String text; 24 22 25 //static private final Logger logger = Logger.getLogger(AddNodeAction.class.getName()); 23 26 … … 34 37 35 38 LatLonDialog dialog = new LatLonDialog(Main.parent, tr("Add Node..."), ht("/Action/AddNode")); 39 40 if (text != null) { 41 dialog.setText(text); 42 } 43 36 44 dialog.setVisible(true); 37 45 if (dialog.isCanceled()) … … 41 49 if (coordinates == null) 42 50 return; 51 52 text = dialog.getText(); 53 43 54 Node nnew = new Node(coordinates); 44 55
Note:
See TracChangeset
for help on using the changeset viewer.