Changeset 459 in josm for trunk/src/org
- Timestamp:
- 2007-11-09T23:13:20+01:00 (17 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r298 r459 55 55 } 56 56 } 57 private JCheckBox checkBox = new JCheckBox(tr("OpenStreetMap data") );57 private JCheckBox checkBox = new JCheckBox(tr("OpenStreetMap data"), true); 58 58 59 59 public void download(DownloadAction action, double minlat, double minlon, double maxlat, double maxlon) { -
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r435 r459 80 80 for (DownloadTask task : downloadTasks) { 81 81 add(task.getCheckBox(), GBC.eol().insets(20,0,0,0)); 82 task.getCheckBox().setSelected(Main.pref.getBoolean("download."+task.getPreferencesSuffix())); 82 // don't override defaults, if we (initially) don't have any preferences 83 if(Main.pref.hasKey("download."+task.getPreferencesSuffix())) { 84 task.getCheckBox().setSelected(Main.pref.getBoolean("download."+task.getPreferencesSuffix())); 85 } 83 86 } 84 87
Note:
See TracChangeset
for help on using the changeset viewer.