Changeset 3421 in josm for trunk


Ignore:
Timestamp:
2010-08-08T13:32:17+02:00 (14 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.