fix #8034: calling nomenclatural ref selection dialog should not delete last selected...
authorKatja Luther <k.luther@bgbm.org>
Mon, 20 Apr 2020 16:32:22 +0000 (18:32 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 20 Apr 2020 16:32:22 +0000 (18:32 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalReferenceSelectionDialog.java

index 6128f9f29e828c2372afc5dc579833c8fff3f0a8..b5d48ac52d4b2e9ef4068a048647b51ad0bd2162 100644 (file)
@@ -46,13 +46,12 @@ public class NomenclaturalReferenceSelectionDialog extends
        @Override
        protected void callService(String pattern) {
         Control control =getSearchField();
-
+        lastSelectedReferences = PreferencesUtil.getLastSelectedReferences();
         if (firstCall && author != null){
             pattern = author.getNomenclaturalTitle();
             if (control!= null){
                 firstCall = false;
                 model = CdmStore.getService(IReferenceService.class).getUuidAndAbbrevTitleCacheForAuthor(null, pattern, null);
-
             }
 
         }else{