Changeset 5638 in josm for trunk


Ignore:
Timestamp:
2012-12-27T19:26:53+01:00 (8 years ago)
Author:
Don-vip
Message:

fix #6438 - Don't try to save window geometry if not showing on screen

File:
1 edited

Legend:

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

    r5275 r5638  
    461461                new WindowGeometry(rememberSizePref,
    462462                        defaultWindowGeometry).applySafe(this);
    463             } else {
     463            } else if (isShowing()) { // should fix #6438, #6981, #8295
    464464                new WindowGeometry(this).remember(rememberSizePref);
    465465            }
Note: See TracChangeset for help on using the changeset viewer.