Changeset 9894 in josm


Ignore:
Timestamp:
2016-02-28T01:01:58+01:00 (4 years ago)
Author:
Don-vip
Message:

see #12488 - fix coverity 1352298 - 1352299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r9877 r9894  
    313313        final RemoveHiddenSelection removeHiddenSelection = new RemoveHiddenSelection();
    314314        tagTable.getSelectionModel().addListSelectionListener(removeHiddenSelection);
    315         tagTable.getRowSorter().addRowSorterListener(removeHiddenSelection);
    316 
     315        tagRowSorter.addRowSorterListener(removeHiddenSelection);
    317316        tagRowSorter.setComparator(0, AlphanumComparator.getInstance());
    318317        tagRowSorter.setComparator(1, new Comparator<Object>() {
     
    14311430        void removeHiddenSelection() {
    14321431            try {
    1433                 tagTable.getRowSorter().convertRowIndexToModel(tagTable.getSelectedRow());
     1432                tagRowSorter.convertRowIndexToModel(tagTable.getSelectedRow());
    14341433            } catch (IndexOutOfBoundsException ignore) {
    14351434                Main.debug("Clearing tagTable selection, {0}", ignore.toString());
Note: See TracChangeset for help on using the changeset viewer.