Changeset 14349 in josm for trunk/src


Ignore:
Timestamp:
2018-10-19T01:14:24+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16855 - OsmDataLayerTest: fix for non-headless mode (patch by ris)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r14182 r14349  
    1111import java.awt.Composite;
    1212import java.awt.Graphics2D;
    13 import java.awt.GraphicsEnvironment;
    1413import java.awt.GridBagLayout;
    1514import java.awt.Rectangle;
     
    11031102    public boolean checkSaveConditions() {
    11041103        if (isDataSetEmpty() && 1 != GuiHelper.runInEDTAndWaitAndReturn(() -> {
    1105             if (GraphicsEnvironment.isHeadless()) {
    1106                 return 2;
    1107             }
    11081104            return new ExtendedDialog(
    11091105                    MainApplication.getMainFrame(),
Note: See TracChangeset for help on using the changeset viewer.