Changeset 12634 in josm for trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
- Timestamp:
- 2017-08-24T15:54:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r10791 r12634 36 36 37 37 import org.openstreetmap.josm.Main; 38 import org.openstreetmap.josm.data.CustomConfigurator;39 38 import org.openstreetmap.josm.data.Preferences; 40 39 import org.openstreetmap.josm.data.oauth.OAuthParameters; … … 306 305 public void initFromPreferences() { 307 306 // Copy current JOSM preferences to update API url with the one used in this wizard 308 Preferences copyPref = CustomConfigurator.clonePreferences(Main.pref);307 Preferences copyPref = new Preferences(Main.pref); 309 308 copyPref.put("osm-server.url", apiUrl); 310 309 pnlFullyAutomaticAuthorisationUI.initFromPreferences(copyPref);
Note:
See TracChangeset
for help on using the changeset viewer.