Changeset 6318 in josm


Ignore:
Timestamp:
2013-10-12T20:09:58+02:00 (11 years ago)
Author:
bastiK
Message:

fixed #9177 - combobox not correctly constructed (patch by AlfonZ)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r6316 r6318  
    302302            Collections.sort(vtTimezones);
    303303
    304             cbTimezones = new JosmComboBox(vtTimezones);
     304            cbTimezones = new JosmComboBox(vtTimezones.toArray());
    305305
    306306            String tzId = Main.pref.get("geoimage.timezoneid", "");
     
    476476        panelCb.add(new JLabel(tr("GPX track: ")));
    477477
    478         cbGpx = new JosmComboBox(gpxLst);
     478        cbGpx = new JosmComboBox(gpxLst.toArray());
    479479        if (defaultItem != null) {
    480480            cbGpx.setSelectedItem(defaultItem);
Note: See TracChangeset for help on using the changeset viewer.