Ignore:
Timestamp:
2009-06-10T16:16:01+02:00 (16 years ago)
Author:
stoecker
Message:

fix some usability issues - see #2460

File:
1 edited

Legend:

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

    r1169 r1658  
    1717
    1818    public static boolean show(String prefKey, String msg) {
    19         return show(prefKey, new JLabel(msg), true, JOptionPane.OK_CANCEL_OPTION, JOptionPane.OK_OPTION);
     19        return show(prefKey, new JLabel(msg), false, JOptionPane.OK_CANCEL_OPTION, JOptionPane.OK_OPTION);
    2020    }
    2121
     
    2525
    2626    public static boolean show(String prefKey, Container msg) {
    27         return show(prefKey, msg, true, JOptionPane.OK_CANCEL_OPTION, JOptionPane.OK_OPTION);
     27        return show(prefKey, msg, false, JOptionPane.OK_CANCEL_OPTION, JOptionPane.OK_OPTION);
    2828    }
    2929
    3030    public static boolean show(String prefKey, Container msg, Boolean state, int options, int true_option) {
    31         if (!Main.pref.getBoolean("message."+prefKey)) {
     31        if (!Main.pref.getBoolean("message."+prefKey, state)) {
    3232            JCheckBox dontshowagain = new JCheckBox(tr("Do not show again"));
    3333            dontshowagain.setSelected(Main.pref.getBoolean("message."+prefKey, state));
Note: See TracChangeset for help on using the changeset viewer.