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


Ignore:
Timestamp:
2016-02-14T23:06:07+01:00 (9 years ago)
Author:
Don-vip
Message:

partial revert of r9779 to see if it fixes audio unit test regression

File:
1 edited

Legend:

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

    r9779 r9803  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
    6 import java.awt.GraphicsEnvironment;
    76import java.io.IOException;
    87import java.net.URL;
     
    379378            msg = tr(msg);
    380379        Main.error(msg);
    381         if (!GraphicsEnvironment.isHeadless()) {
     380        //if (!GraphicsEnvironment.isHeadless()) {
    382381            JOptionPane.showMessageDialog(Main.parent,
    383382                    "<html><p>" + msg + "</p></html>",
    384383                    tr("Error playing sound"), JOptionPane.ERROR_MESSAGE);
    385         }
     384        //}
    386385    }
    387386}
Note: See TracChangeset for help on using the changeset viewer.