- Timestamp:
- 2014-02-12T18:37:27+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/oauth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java
r6830 r6845 239 239 public void initFromPreferences(Preferences pref) throws IllegalArgumentException { 240 240 CheckParameterUtil.ensureParameterNotNull(pref, "pref"); 241 setApiUrl(pref.get("osm-server -url"));241 setApiUrl(pref.get("osm-server.url")); 242 242 boolean useDefault = pref.getBoolean("oauth.settings.use-default", true); 243 243 ilUseDefault.setEnabled(false); -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r6666 r6845 280 280 // Copy current JOSM preferences to update API url with the one used in this wizard 281 281 Preferences copyPref = CustomConfigurator.clonePreferences(Main.pref); 282 copyPref.put("osm-server -url", apiUrl);282 copyPref.put("osm-server.url", apiUrl); 283 283 pnlFullyAutomaticAuthorisationUI.initFromPreferences(copyPref); 284 284 pnlSemiAutomaticAuthorisationUI.initFromPreferences(copyPref);
Note:
See TracChangeset
for help on using the changeset viewer.