Changeset 9814 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2016-02-17T19:37:33+01:00 (8 years ago)
Author:
Don-vip
Message:

see #12229 - revert r9785 and r9803: problem with audio unit test was unrelated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java

    r9803 r9814  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
     6import java.awt.GraphicsEnvironment;
    67import java.io.IOException;
    78import java.net.URL;
     
    378379            msg = tr(msg);
    379380        Main.error(msg);
    380         //if (!GraphicsEnvironment.isHeadless()) {
     381        if (!GraphicsEnvironment.isHeadless()) {
    381382            JOptionPane.showMessageDialog(Main.parent,
    382383                    "<html><p>" + msg + "</p></html>",
    383384                    tr("Error playing sound"), JOptionPane.ERROR_MESSAGE);
    384         //}
     385        }
    385386    }
    386387}
Note: See TracChangeset for help on using the changeset viewer.