Project

General

Profile

Revision f3df0663

IDf3df06636a93b24f3ee8e7ede40529488412f200
Parent 3dba4bc3
Child 69e82edd

Added by Patrick Plitzner 7 months ago

ref #7775 Select newly created description in factual data view

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/FactualDataPartE4.java
193 193
            ((DescriptionBase) object).setTitleCache(null, false);
194 194
        }
195 195

  
196
        ((AbstractTreeViewer) viewer).expandToLevel(2);
197
        viewer.refresh();
198

  
196 199
        if(object != null){
197 200
            StructuredSelection selection = new StructuredSelection(object);
198 201
            viewer.setSelection(selection, true);
199 202
        }
200
        ((AbstractTreeViewer) viewer).expandToLevel(2);
201
        viewer.refresh();
202

  
203 203
        super.changed(object);
204 204
    }
205 205

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)