Ignore:
Timestamp:
2009-10-24T10:20:45+02:00 (16 years ago)
Author:
Gubaer
Message:

see #3761: Precondition failed: Node is still used by way
Also added help for this use case, see help

File:
1 edited

Legend:

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

    r2301 r2303  
    1515import javax.swing.JButton;
    1616import javax.swing.JDialog;
     17import javax.swing.JLabel;
    1718import javax.swing.JOptionPane;
    1819
     
    148149            }
    149150        }
     151
     152        if (msg instanceof String) {
     153            msg = new JLabel((String)msg);
     154        }
     155
    150156        final JOptionPane pane = new JOptionPane(
    151157                msg,
Note: See TracChangeset for help on using the changeset viewer.