Ignore:
Timestamp:
2018-10-22T21:16:03+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #16865 - UploadDialogTest: fix for non-headless mode (patch by ris, modified). Probably IUploadDialog should die

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java

    r14257 r14355  
    99import java.awt.Dimension;
    1010import java.awt.FlowLayout;
    11 import java.awt.GraphicsEnvironment;
    1211import java.awt.GridBagLayout;
    1312import java.awt.event.ActionEvent;
     
    478477                    tr("Ignore this hint and upload anyway")};
    479478
    480             if (GraphicsEnvironment.isHeadless()) {
    481                 return false;
    482             }
    483 
    484479            ExtendedDialog dlg = new ExtendedDialog((Component) dialog, title, buttonTexts) {
    485480                @Override
Note: See TracChangeset for help on using the changeset viewer.