Project

General

Profile

Revision 87626c45

ID87626c45a1159a258270dac15deb5b31b4286092
Parent b294e97e
Child 9ef7ae67, b6610f12

Added by Katja Luther over 3 years ago

fix media deletion config wizard for media should be deleted if not used somewhere else

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/deleteConfigurator/DeleteMediaConfiguratorComposite.java
122 122
//	        IObservableValue deleteConfiguratorObserveValue = PojoProperties.value("deleteIfUsedInTaxonDescription").observe(configurator);
123 123
//	        bindingContext.bindValue(observeSelectionBtnDelete, deleteConfiguratorObserveValue, null, null);
124 124
 	       if (!inBulkEditor){
125
 	    	  IObservableValue observeSelectionBtnDelete = WidgetProperties.selection().observe(btnDelete);
126
	            IObservableValue deleteConfiguratorObserveValue = PojoProperties.value("deleteFromDescription").observe(configurator);
127
	            bindingContext.bindValue(observeSelectionBtnDelete, deleteConfiguratorObserveValue, null, null);
128
 	    	   
125 129
	            IObservableValue observeSelectionBtnRemoveFromImageGallery = WidgetProperties.selection().observe(btnRemoveFromImageGallery);
126 130
	            IObservableValue removeFromImageGalleryConfiguratorObserveValue = PojoProperties.value("onlyRemoveFromGallery").observe(configurator);
127 131
	            bindingContext.bindValue(observeSelectionBtnRemoveFromImageGallery, removeFromImageGalleryConfiguratorObserveValue, null, null);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)