Changeset 5640 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-12-28T11:47:21+01:00 (12 years ago)
Author:
akks
Message:

fix #8298: Selection of recently used tag returns wrong value

File:
1 edited

Legend:

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

    r5636 r5640  
    523523                    public void actionPerformed(ActionEvent e) {
    524524                        keys.setSelectedItem(t.getKey());
     525                        // Update list of values (fix #7951)
     526                        // fix #8298 - update list of values before setting value (?)
     527                        focus.focusGained(null);
    525528                        values.setSelectedItem(t.getValue());
    526                         // Update list of values (fix #7951)
    527                         focus.focusGained(null);
    528529                    }
    529530                };
Note: See TracChangeset for help on using the changeset viewer.