}
- 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){