Changeset 6070 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
- Timestamp:
- 2013-07-17T00:01:49+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r6064 r6070 47 47 private final TagEditorModel model; 48 48 private Component nextFocusComponent; 49 49 50 50 /** a list of components to which focus can be transferred without stopping 51 51 * cell editing this table. … … 104 104 getCellEditor().stopCellEditing(); 105 105 } 106 106 107 107 if (row==-1 && col==-1) { 108 108 requestFocusInCell(0, 0); 109 109 return; 110 110 } 111 111 112 112 if (col == 0) { 113 113 col++; … … 290 290 if (!key.trim().isEmpty()) { 291 291 model.appendNewTag(); 292 } 292 } 293 293 requestFocusInCell(model.getRowCount()-1, 0); 294 294 } 295 295 296 296 protected void updateEnabledState() { 297 297 setEnabled(TagTable.this.isEnabled()); … … 435 435 this.nextFocusComponent = nextFocusComponent; 436 436 } 437 437 438 438 public TagCellEditor getTableCellEditor() { 439 439 return editor; … … 472 472 } 473 473 // there was a bug here - on older 1.6 Java versions Tab was not working 474 // after such activation. In 1.7 it works OK, 474 // after such activation. In 1.7 it works OK, 475 475 // previous solution of usint awt.Robot was resetting mouse speed on Windows 476 476 }
Note:
See TracChangeset
for help on using the changeset viewer.