Ignore:
Timestamp:
2011-03-05T00:53:31+01:00 (13 years ago)
Author:
bastiK
Message:

Turn off the new features introduced in [3934] for now. There are still minor technical problems (see #6037) and a release is due.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r3934 r3956  
    216216        // capabilities are already known to the editor instance. However
    217217        // if it goes wrong that's not critical at this stage.
    218         try {
    219             OsmApi.getOsmApi().initialize(null);
    220         } catch (Exception x) {
    221             // ignore any exception here.
     218        if (Main.pref.getBoolean("get-capabilities-at-start", false)) {
     219            try {
     220                OsmApi.getOsmApi().initialize(null);
     221            } catch (Exception x) {
     222                // ignore any exception here.
     223            }
    222224        }
    223225
Note: See TracChangeset for help on using the changeset viewer.