- Timestamp:
- 2016-01-17T20:47:39+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/HelpAwareOptionPane.java
r9078 r9512 29 29 import org.openstreetmap.josm.gui.help.HelpUtil; 30 30 import org.openstreetmap.josm.gui.util.GuiHelper; 31 import org.openstreetmap.josm.gui.widgets.J osmEditorPane;31 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 32 32 import org.openstreetmap.josm.tools.ImageProvider; 33 33 import org.openstreetmap.josm.tools.InputMapUtils; … … 229 229 230 230 if (msg instanceof String) { 231 JosmEditorPane pane = new JosmEditorPane("text/html", (String) msg); 232 pane.setEditable(false); 233 pane.setOpaque(false); 234 msg = pane; 231 msg = new JMultilineLabel(((String) msg), true); 235 232 } 236 233 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/CancelAction.java
r9496 r9512 82 82 } 83 83 } 84 } else if (ret == 2 ) //Cancel, continue editing84 } else if (ret == 2 || ret == JOptionPane.CLOSED_OPTION) //Cancel, continue editing 85 85 return; 86 86 //in case of "No, discard", there is no extra action to be performed here.
Note:
See TracChangeset
for help on using the changeset viewer.