ref #8228: fix refresh in details view
authorKatja Luther <k.luther@bgbm.org>
Tue, 9 Apr 2019 07:33:13 +0000 (09:33 +0200)
committerKatja Luther <k.luther@bgbm.org>
Tue, 9 Apr 2019 07:33:13 +0000 (09:33 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java

index bbad786..a1cc6f4 100644 (file)
@@ -157,11 +157,11 @@ public abstract class AbstractCdmEditorPartE4
 
         }
 
 
         }
 
-        if((previousSelection!=null && selection!=null) &&
+        if((previousSelection!=null && selection!=null) && activePart.equals(selectionProvidingPart) &&
                 (previousSelection==selection
                 || previousSelection.equals(selection)
                 || new StructuredSelection(selection).equals(previousSelection))
                 (previousSelection==selection
                 || previousSelection.equals(selection)
                 || new StructuredSelection(selection).equals(previousSelection))
-                ){
+                ) {
             return;
         }
         if(delaySelection==null){
             return;
         }
         if(delaySelection==null){