Changeset 16217 in josm for trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
- Timestamp:
- 2020-03-29T10:10:42+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
r15084 r16217 16 16 17 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; 18 import org.openstreetmap.josm.gui.widgets.HtmlPanel;19 18 import org.openstreetmap.josm.io.ChangesetClosedException; 20 19 import org.openstreetmap.josm.io.IllegalDataException; … … 45 44 return HelpAwareOptionPane.showOptionDialog( 46 45 MainApplication.getMainFrame(), 47 new HtmlPanel(msg),46 msg, 48 47 title, 49 48 JOptionPane.ERROR_MESSAGE, … … 336 335 Object msg = null; 337 336 if (e.isHtml() && body != null && body.startsWith("<") && body.contains("<html>")) { 338 msg = new HtmlPanel(body);337 // use html string as is 339 338 } else { 340 339 msg = ExceptionUtil.explainGeneric(e);
Note:
See TracChangeset
for help on using the changeset viewer.