Changeset 31294 in osm for applications/editors/josm
- Timestamp:
- 2015-06-20T22:19:30+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mirrored_download/src/mirrored_download
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/MirroredDownloadAction.java
r31287 r31294 123 123 private MirroredDownloadDialog(Component parent) { 124 124 super(parent); 125 cbDownloadOsmData.setSelected(true);126 cbDownloadGpxData.setSelected(false);127 cbDownloadNotes.setSelected(false);128 cbDownloadOsmData.setEnabled(false);129 cbDownloadGpxData.setEnabled(false);130 cbDownloadNotes.setEnabled(false);131 cbStartup.setEnabled(false);132 125 } 133 126 … … 163 156 public void restoreSettings() { 164 157 super.restoreSettings(); 158 cbDownloadOsmData.setSelected(true); 159 cbDownloadGpxData.setSelected(false); 160 cbDownloadNotes.setSelected(false); 161 cbDownloadOsmData.setEnabled(false); 162 cbDownloadGpxData.setEnabled(false); 163 cbDownloadNotes.setEnabled(false); 164 cbStartup.setEnabled(false); 165 165 overpassQuery.setPossibleItems( 166 166 Main.pref.getCollection(XAPI_QUERY_HISTORY_KEY, new LinkedList<String>())); -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/OverpassDownloadAction.java
r30664 r31294 62 62 private OverpassDownloadDialog(Component parent) { 63 63 super(parent); 64 } 65 66 @Override 67 public void restoreSettings() { 68 super.restoreSettings(); 69 cbDownloadOsmData.setSelected(true); 70 cbDownloadGpxData.setSelected(false); 71 cbDownloadNotes.setSelected(false); 64 72 cbDownloadOsmData.setEnabled(false); 65 73 cbDownloadGpxData.setEnabled(false); 74 cbDownloadNotes.setEnabled(false); 66 75 cbStartup.setEnabled(false); 67 76 }
Note:
See TracChangeset
for help on using the changeset viewer.