Changeset 35230 in osm for applications/editors/josm
- Timestamp:
- 2019-11-13T23:26:28+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTagDialog.java
r34455 r35230 284 284 public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { 285 285 Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); 286 if (c instanceof JLabel) { 286 if (c instanceof JLabel && value instanceof OsmPrimitiveType) { 287 287 ((JLabel) c).setIcon(ImageProvider.get((OsmPrimitiveType) value)); 288 288 ((JLabel) c).setText("");
Note:
See TracChangeset
for help on using the changeset viewer.