Ticket #17358: 17358.patch

File 17358.patch, 874 bytes (added by GerdP, 7 years ago)
  • src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java

     
    330330                    if (!keyCondition.negateResult && conditionRequiresKeyPresence(keyCondition.matchType)) {
    331331                        key = keyCondition.label;
    332332                    }
    333                 } else if (c instanceof KeyValueCondition) {
     333                } else if (c instanceof SimpleKeyValueCondition) {
    334334                    KeyValueCondition keyValueCondition = (KeyValueCondition) c;
    335335                    if (!Op.NEGATED_OPS.contains(keyValueCondition.op)) {
    336336                        key = keyValueCondition.k;