Changeset 13827 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2018-05-24T23:05:08+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
r13825 r13827 191 191 formats.setToolTipText(tr("Select image format for WMS layer")); 192 192 193 if (!GraphicsEnvironment.isHeadless() ) {194 if (1 != new ExtendedDialog(Main.parent, tr("Select WMS layers"), tr("Add layers"), tr("Cancel")) { {193 if (!GraphicsEnvironment.isHeadless() && 194 1 != new ExtendedDialog(Main.parent, tr("Select WMS layers"), tr("Add layers"), tr("Cancel")) { { 195 195 final JScrollPane scrollPane = new JScrollPane(tree.getLayerTree()); 196 196 scrollPane.setPreferredSize(new Dimension(400, 400)); … … 199 199 panel.add(formats, GBC.eol().fill(GBC.HORIZONTAL)); 200 200 setContent(panel); 201 } }.showDialog().getValue()) { 202 return null; 203 } 201 } }.showDialog().getValue()) { 202 return null; 204 203 } 205 204
Note:
See TracChangeset
for help on using the changeset viewer.