Project

General

Profile

Revision 695e929b

ID695e929b1ae98225df497f92aefbddffd6d4cd49
Parent b7fa95c6
Child c4f68783

Added by Katja Luther over 2 years ago

ref #6728: update titleCache if author is edited

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
429 429
		// selections
430 430
		else if (eventSource == selection_authorTeam) {
431 431
			getEntity().setAuthorship(
432
					(TeamOrPersonBase) selection_authorTeam.getSelection());
432
					(TeamOrPersonBase) selection_authorTeam.getEntity());
433 433
		} else if (eventSource == selection_inReference) {
434 434
			getEntity().setInReference(selection_inReference.getSelection());
435 435
		} else if (eventSource == selection_inSeries) {
......
489 489
		    if(!getEntity().isProtectedAbbrevTitleCache()){
490 490
		        getEntity().setAbbrevTitleCache(null, getEntity().isProtectedAbbrevTitleCache());
491 491
		    }
492
		    if(!getEntity().isProtectedTitleCache()){
493
                getEntity().setTitleCache(null, getEntity().isProtectedTitleCache());
494
            }
495

  
492 496
			toggleable_cache.setText(getEntity().getTitleCache());
493 497
			toggleableAbbrevCache.setText(getEntity().getAbbrevTitleCache());
494 498
		}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)