Changeset 8078 in josm
- Timestamp:
- 2015-02-17T08:47:19+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java
r8061 r8078 314 314 return; 315 315 } 316 int selectedIndex = displayList.getSelectedIndex(); 316 317 noteData.addCommentToNote(note, dialog.getInputText()); 318 noteData.setSelectedNote(model.getElementAt(selectedIndex)); 317 319 } 318 320 } … … 335 337 } 336 338 Note note = displayList.getSelectedValue(); 339 int selectedIndex = displayList.getSelectedIndex(); 337 340 noteData.closeNote(note, dialog.getInputText()); 341 noteData.setSelectedNote(model.getElementAt(selectedIndex)); 338 342 } 339 343 } … … 374 378 375 379 Note note = displayList.getSelectedValue(); 380 int selectedIndex = displayList.getSelectedIndex(); 376 381 noteData.reOpenNote(note, dialog.getInputText()); 382 noteData.setSelectedNote(model.getElementAt(selectedIndex)); 377 383 } 378 384 }
Note:
See TracChangeset
for help on using the changeset viewer.