Changeset 2428 in josm for trunk/src


Ignore:
Timestamp:
2009-11-10T18:06:34+01:00 (15 years ago)
Author:
stoecker
Message:

fixed #3893 - Windows no longer remembered Windows Look and Feel

File:
1 edited

Legend:

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

    r1990 r2428  
    5858        }
    5959
    60         String laf = Main.pref.get("laf");
     60        String laf = Main.pref.get("laf", Main.platform.getDefaultStyle());
    6161        for (int i = 0; i < lafCombo.getItemCount(); ++i) {
    6262            if (((LookAndFeelInfo)lafCombo.getItemAt(i)).getClassName().equals(laf)) {
Note: See TracChangeset for help on using the changeset viewer.