Changeset 3211 in josm for trunk/src/org


Ignore:
Timestamp:
2010-04-27T13:32:12+02:00 (14 years ago)
Author:
bastiK
Message:

fix unnecessary hideNotification at the beginning

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs
Files:
2 edited

Legend:

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

    r3198 r3211  
    8282                reconstruct(Action.INVISIBLE_TO_DEFAULT, dlg);
    8383            }
     84            dlg.showNotify();
    8485        } else {
    8586            dlg.hideDialog();
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r3186 r3211  
    146146                hideDialog();
    147147                dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null);
     148                hideNotify();
    148149            } else {
    149150                showDialog();
     
    154155                    dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, ToggleDialog.this);
    155156                }
     157                showNotify();
    156158            }
    157159        }
     
    178180        toggleAction.putValue("selected", false);
    179181        toggleAction.putValue("selected", true);
    180         showNotify();
    181182    }
    182183
     
    200201                dialogsPanel.reconstruct(Action.INVISIBLE_TO_DEFAULT, this);
    201202            }
     203            showNotify();
    202204        }
    203205    }
     
    211213        setIsShowing(false);
    212214        toggleAction.putValue("selected", false);
    213         hideNotify();
    214215    }
    215216
     
    393394                            hideDialog();
    394395                            dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null);
     396                            hideNotify();
    395397                        }
    396398                    }
     
    432434                    } else {
    433435                        hideDialog();
     436                        hideNotify();
    434437                    }
    435438                }
Note: See TracChangeset for help on using the changeset viewer.