Project

General

Profile

« Previous | Next » 

Revision 0d8019de

Added by Cherian Mathew over 8 years ago

Check for disposed widget

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java
762 762

  
763 763

  
764 764
    public void hide(boolean isHidden) {
765
        if(shlConnect != null) {
765
        if(shlConnect != null && shlConnect.getDisplay() != null) {
766 766
            shlConnect.setVisible(!isHidden);
767 767
        }
768 768
    }
769 769
    public void dispose() {
770
        if(shlConnect != null) {
770
        if(shlConnect != null && shlConnect.getDisplay() != null) {
771 771
            shlConnect.dispose();
772 772
        }
773 773
    }

Also available in: Unified diff