Changeset 11558 in josm for trunk


Ignore:
Timestamp:
2017-02-13T23:16:01+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #14359 - use correct listener to avoid spurious events called before proper initialized state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java

    r11508 r11558  
    281281        add(colorTypeHeatMapTune, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5));
    282282
    283         colorTypeHeatMapTune.addPropertyChangeListener(e -> {
     283        colorTypeHeatMapTune.addActionListener(e -> {
    284284            final Dimension dim = colorTypeHeatMapTune.getPreferredSize();
    285285            if (null != dim) {
Note: See TracChangeset for help on using the changeset viewer.