From: Katja Luther Date: Tue, 9 Apr 2019 07:33:13 +0000 (+0200) Subject: ref #8228: fix refresh in details view X-Git-Tag: 5.6.0^2~38 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/233fc0af73515c2d843f4aaaa4b5f62711fff4c2?ds=sidebyside ref #8228: fix refresh in details view --- diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java index bbad786bd..a1cc6f414 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java @@ -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)) - ){ + ) { return; } if(delaySelection==null){