Changeset 3421 in josm


Ignore:
Timestamp:
Aug 8, 2010 1:32:17 PM (3 years ago)
Author:
bastiK
Message:

fixed #5304 - Problem occured during validation operation

File:
1 edited

Legend:

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

    r3211 r3421  
    462462 
    463463        protected void rememberGeometry() { 
    464             Main.pref.put(preferencePrefix+".bounds", detachedDialog.getX()+","+detachedDialog.getY()+","+detachedDialog.getWidth()+","+detachedDialog.getHeight()); 
     464            if (detachedDialog != null) { 
     465                Main.pref.put(preferencePrefix+".bounds", detachedDialog.getX()+","+detachedDialog.getY()+","+detachedDialog.getWidth()+","+detachedDialog.getHeight()); 
     466            } 
    465467        } 
    466468    } 
Note: See TracChangeset for help on using the changeset viewer.