- Timestamp:
- 2016-02-28T01:01:58+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r9877 r9894 313 313 final RemoveHiddenSelection removeHiddenSelection = new RemoveHiddenSelection(); 314 314 tagTable.getSelectionModel().addListSelectionListener(removeHiddenSelection); 315 tagTable.getRowSorter().addRowSorterListener(removeHiddenSelection); 316 315 tagRowSorter.addRowSorterListener(removeHiddenSelection); 317 316 tagRowSorter.setComparator(0, AlphanumComparator.getInstance()); 318 317 tagRowSorter.setComparator(1, new Comparator<Object>() { … … 1431 1430 void removeHiddenSelection() { 1432 1431 try { 1433 tag Table.getRowSorter().convertRowIndexToModel(tagTable.getSelectedRow());1432 tagRowSorter.convertRowIndexToModel(tagTable.getSelectedRow()); 1434 1433 } catch (IndexOutOfBoundsException ignore) { 1435 1434 Main.debug("Clearing tagTable selection, {0}", ignore.toString());
Note:
See TracChangeset
for help on using the changeset viewer.