Changeset 2997 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-02-16T13:01:56+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r2974 r2997 220 220 switch(getSelectedColumnCount()) { 221 221 case 1: 222 if (getSelectedColumn() == 0) { 222 if (isEditing()) { 223 getCellEditor().cancelCellEditing(); 224 deleteTags(); 225 } else if (getSelectedColumn() == 0) { 223 226 deleteTagNames(); 224 227 } else if (getSelectedColumn() == 1) { … … 257 260 protected void updateEnabledState() { 258 261 if (isEditing() && getSelectedColumnCount() == 1 && getSelectedRowCount() == 1) { 259 setEnabled( false);262 setEnabled(true); 260 263 } else if (!isEditing() && getSelectedColumnCount() == 1 && getSelectedRowCount() == 1) { 261 264 setEnabled(true);
Note:
See TracChangeset
for help on using the changeset viewer.