Changeset 10325 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-06-04T17:01:55+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #12897 - fix IllegalArgumentException when exiting JOSM (patch by michael2402)

File:
1 edited

Legend:

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

    r10317 r10325  
    439439    public void destroy() {
    440440        closeDetachedDialog();
    441         hideNotify();
     441        if (isShowing) {
     442            hideNotify();
     443        }
    442444        Main.main.menu.windowMenu.remove(windowMenuItem);
    443445        Toolkit.getDefaultToolkit().removeAWTEventListener(this);
Note: See TracChangeset for help on using the changeset viewer.