Ignore:
Timestamp:
2010-08-31T16:06:09+02:00 (14 years ago)
Author:
malcolmh
Message:

auto-set background

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java

    r22906 r22907  
    175175                        Main.pref.put("mappaint.style.sources", str + "http://dev.openseamap.org/josm/seamark_styles.xml");
    176176                }
    177                 if (Main.pref.get("color.background").equals("#000000"))
     177                str = Main.pref.get("color.background");
     178                if (str.equals("#000000") || str.equals(""))
    178179                        Main.pref.put("color.background", "#606060");
    179180        }
Note: See TracChangeset for help on using the changeset viewer.