Changeset 27729 in osm for applications/editors/josm/plugins/mirrored_download/src
- Timestamp:
- 2012-02-08T19:31:02+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/UrlSelectionDialog.java
r27696 r27729 104 104 cbSelectUrl.setEditable(true); 105 105 106 String preferredUrl = Main.pref.get("plugin.mirrored_download.preferred-url"); 107 if (preferredUrl != null && !"".equals(preferredUrl)) 108 cbSelectUrl.addItem(preferredUrl); 109 106 110 for (String url: getURLs()) { 107 111 cbSelectUrl.addItem(url); … … 153 157 public void actionPerformed(ActionEvent e) { 154 158 MirroredDownloadPlugin.setDownloadUrl(cbSelectUrl.getSelectedItem().toString()); 159 Main.pref.put("plugin.mirrored_download.preferred-url", 160 cbSelectUrl.getSelectedItem().toString()); 155 161 } 156 162
Note:
See TracChangeset
for help on using the changeset viewer.