Project

General

Profile

« Previous | Next » 

Revision 6de63659

Added by Patrick Plitzner over 7 years ago

ref #5495 always empty details view when there is no active editor
providing a selection

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewPart.java
61 61
            return;
62 62
        }
63 63

  
64
	    if(AbstractUtility.getActiveEditor() == null &&
65
	            selection instanceof IStructuredSelection && ((IStructuredSelection) selection).getFirstElement() !=null){
66
	        //special case where the details view still open with details about the closed object #5495
67
	        showEmptyPage();
68
	        return;
69
	    }
64 70
        if(part == this){
65 71
            return;
66 72
        }

Also available in: Unified diff