Changeset 3998 in josm
- Timestamp:
- 2011-03-20T23:26:22+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/ChangesetManagementPanel.java
r3530 r3998 244 244 if (cs == null) return; 245 245 if (rbExisting.isSelected()) { 246 // create a clone of the selected changeset and make sure247 // we keep the current changeset comment (see #4371)248 cs = new Changeset(cs);249 cs.put("comment", changesetCommentModel.getComment());250 246 firePropertyChange(SELECTED_CHANGESET_PROP, null, cs); 251 247 } … … 284 280 cbOpenChangesets.setEnabled(false); 285 281 firePropertyChange(SELECTED_CHANGESET_PROP, null, null); 286 } else {282 } else if (rbExisting.isSelected()) { 287 283 cbOpenChangesets.setEnabled(true); 288 284 if (cbOpenChangesets.getSelectedItem() == null) { … … 291 287 Changeset cs = (Changeset)cbOpenChangesets.getSelectedItem(); 292 288 if (cs == null) return; 293 // create a clone of the selected changeset and make sure 294 // we keep the current changeset comment (see #4371) 295 cs = new Changeset(cs); 296 cs.put("comment", changesetCommentModel.getComment()); 289 changesetCommentModel.setComment(cs.get("comment")); 297 290 firePropertyChange(SELECTED_CHANGESET_PROP, null, cs); 298 291 }
Note:
See TracChangeset
for help on using the changeset viewer.