Changeset 14450 in josm
- Timestamp:
- 2018-11-25T15:35:49+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r14435 r14450 47 47 import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction; 48 48 import org.openstreetmap.josm.gui.help.HelpUtil; 49 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 49 50 import org.openstreetmap.josm.gui.util.GuiHelper; 50 51 import org.openstreetmap.josm.gui.util.WindowGeometry; … … 434 435 public void setVisible(boolean visible) { 435 436 if (visible) { 437 btnDownloadNewLayer.setVisible( 438 !MainApplication.getLayerManager().getLayersOfType(OsmDataLayer.class).isEmpty()); 436 439 new WindowGeometry( 437 440 getClass().getName() + ".geometry", … … 458 461 /** 459 462 * Gets the global settings of the download dialog. 463 * @param newLayer The flag defining if a new layer must be created for the downloaded data. 460 464 * @return The {@link DownloadSettings} object that describes the current state of 461 465 * the download dialog.
Note:
See TracChangeset
for help on using the changeset viewer.