Changeset 3027 in josm for trunk/src


Ignore:
Timestamp:
2010-02-20T10:56:46+01:00 (10 years ago)
Author:
bastiK
Message:

fixed #2416 - Keyboard shortcuts broken (shift-ctrl-x issue)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ToggleGPXLinesAction.java

    r2323 r3027  
    2020
    2121    public void actionPerformed(ActionEvent e) {
    22         Main.pref.put("draw.rawgps.lines", !Main.pref.getBoolean("draw.rawgps.lines"));
    23         if(Main.map != null)
     22        Main.pref.put("draw.rawgps.lines", !Main.pref.getBoolean("draw.rawgps.lines", true));
     23        if(Main.map != null) {
    2424            Main.map.mapView.repaint();
     25        }
    2526    }
    2627}
Note: See TracChangeset for help on using the changeset viewer.