Changeset 15065 in josm for trunk/src/org


Ignore:
Timestamp:
2019-05-09T17:19:30+02:00 (6 years ago)
Author:
GerdP
Message:

fix #17699: Make sure that a changed filter is used

File:
1 edited

Legend:

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

    r14206 r15065  
    242242        case COL_ENABLED:
    243243            f.enable = (Boolean) aValue;
    244             setFilter(row, f);
    245244            break;
    246245        case COL_HIDING:
    247246            f.hiding = (Boolean) aValue;
    248             setFilter(row, f);
    249247            break;
    250248        case COL_TEXT:
    251249            f.text = (String) aValue;
    252             savePrefs();
    253250            break;
    254251        case COL_INVERTED:
    255252            f.inverted = (Boolean) aValue;
    256             setFilter(row, f);
    257253            break;
    258254        default: // Do nothing
    259255        }
    260         if (column != 0) {
    261             fireTableCellUpdated(row, column);
    262         }
     256        setFilter(row, f);
    263257    }
    264258
Note: See TracChangeset for help on using the changeset viewer.