Changeset 1243 in josm for trunk/src/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2009-01-11T13:14:01+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ColorPreference.java
r1242 r1243 183 183 184 184 public boolean ok() { 185 Boolean ret = false; 185 186 for (int i = 0; i < colors.getRowCount(); ++i) { 186 Main.pref.putColor((String)colors.getValueAt(i, 0), (Color)colors.getValueAt(i, 1)); 187 String key = (String)colors.getValueAt(i, 0); 188 if(Main.pref.putColor(key, (Color)colors.getValueAt(i, 1))) 189 { 190 if(key.startsWith("mappaint.")) 191 ret = true; 192 } 187 193 } 188 194 org.openstreetmap.josm.gui.layer.OsmDataLayer.createHatchTexture(); 189 return false;195 return ret; 190 196 } 191 197 }
Note:
See TracChangeset
for help on using the changeset viewer.