Changeset 15365 in josm for trunk


Ignore:
Timestamp:
2019-09-19T16:58:10+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #17310 - disable "download as new layer" button instead of hiding it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r14450 r15365  
    435435    public void setVisible(boolean visible) {
    436436        if (visible) {
    437             btnDownloadNewLayer.setVisible(
     437            btnDownloadNewLayer.setEnabled(
    438438                    !MainApplication.getLayerManager().getLayersOfType(OsmDataLayer.class).isEmpty());
    439439            new WindowGeometry(
Note: See TracChangeset for help on using the changeset viewer.