BGBM BDI Projects
/
taxeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix enabling/disabling of referencing obejcts table #5603
[taxeditor.git]
/
eu.etaxonomy.taxeditor.bulkeditor
/
src
/
main
/
java
/
eu
/
etaxonomy
/
taxeditor
/
bulkeditor
/
referencingobjects
/
ReferencingObjectsView.java
diff --git
a/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/referencingobjects/ReferencingObjectsView.java
b/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/referencingobjects/ReferencingObjectsView.java
index cc87ecc42469298c1713a091a3bc51af6ccd35ba..c8a273fa6f3e3db6e394ee4e318f96a703357b82 100644
(file)
--- a/
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/referencingobjects/ReferencingObjectsView.java
+++ b/
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/referencingobjects/ReferencingObjectsView.java
@@
-312,10
+312,9
@@
public class ReferencingObjectsView extends AbstractCdmViewPart {
} else {
setContentDescription("");
}
} else {
setContentDescription("");
}
- if(referencingObjects==null){
- viewer.getControl().setEnabled(false);
- }
showViewer();
showViewer();
+ //enable/disable table
+ viewer.getControl().setEnabled(referencingObjects!=null);
}catch(Exception e){
setContentDescription("The referencing objects view could not be loaded completely. Some Problems occured.");
}
}catch(Exception e){
setContentDescription("The referencing objects view could not be loaded completely. Some Problems occured.");
}