Changeset 12511 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-07-25T23:43:20+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionTableModel.java
r11646 r12511 6 6 import javax.swing.table.AbstractTableModel; 7 7 8 import org.openstreetmap.josm.Main; 8 9 import org.openstreetmap.josm.data.osm.Changeset; 9 10 import org.openstreetmap.josm.data.osm.User; … … 81 82 if (!((Boolean) aValue)) 82 83 return; 83 switch (column) { 84 case 1: 85 model.setReferencePointInTime(row); 86 break; 87 case 2: 88 model.setCurrentPointInTime(row); 89 break; 90 default: 91 return; 84 try { 85 switch (column) { 86 case 1: 87 model.setReferencePointInTime(row); 88 break; 89 case 2: 90 model.setCurrentPointInTime(row); 91 break; 92 default: 93 return; 94 } 95 } catch (IllegalArgumentException e) { 96 Main.error(e); 92 97 } 93 98 fireTableDataChanged();
Note:
See TracChangeset
for help on using the changeset viewer.