Changeset 12265 in josm
- Timestamp:
- 2017-05-27T19:22:23+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/TagSettingsPanel.java
r11553 r12265 91 91 */ 92 92 public Map<String, String> getTags(boolean keepEmpty) { 93 forceCommentFieldReload(); 93 94 return pnlTagEditor.getModel().getTags(keepEmpty); 94 95 } … … 108 109 changesetCommentModel.setComment(getTagEditorValue("comment")); 109 110 changesetSourceModel.setComment(getTagEditorValue("source")); 111 } 112 113 /** 114 * Force update the fields if the user is currently changing them. See #5676 115 */ 116 private void forceCommentFieldReload() { 117 setProperty("comment", changesetCommentModel.getComment()); 118 setProperty("source", changesetSourceModel.getComment()); 110 119 } 111 120
Note:
See TracChangeset
for help on using the changeset viewer.