Changeset 15365 in josm


Ignore:
Timestamp:
2019-09-19T16:58:10+02:00 (8 weeks 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.