Changeset 16964 in josm for trunk/src/org


Ignore:
Timestamp:
2020-08-29T16:38:54+02:00 (4 years ago)
Author:
simon04
Message:

fix #13586, see #18162 - Preferences: do not update source entries automatically when --offline=CACHE_UPDATES

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java

    r16960 r16964  
    552552     */
    553553    public void initiallyLoadAvailableSources() {
    554         if (!sourcesInitiallyLoaded) {
     554        if (!sourcesInitiallyLoaded && !NetworkManager.isOffline(OnlineResource.CACHE_UPDATES)) {
    555555            reloadAvailableSources(availableSourcesUrl, sourceProviders);
    556556        }
Note: See TracChangeset for help on using the changeset viewer.