diff --git a/uk/ac/sanger/artemis/components/FeatureEdit.java b/uk/ac/sanger/artemis/components/FeatureEdit.java index c31c6ec15cde7cb4d632cf422f220cc55b4f953e..c8538578526aa1d961a361bcae76963b10c25ac7 100644 --- a/uk/ac/sanger/artemis/components/FeatureEdit.java +++ b/uk/ac/sanger/artemis/components/FeatureEdit.java @@ -991,7 +991,8 @@ public class FeatureEdit extends JPanel } }); - ok_cancel_update_panel.add(oneView); + if(((GFFStreamFeature)getFeature().getEmblFeature()).getChadoGene() != null) + ok_cancel_update_panel.add(oneView); ok_cancel_update_panel.add(tabbedView); fillerBox.add(Box.createHorizontalStrut( tabbedView.getPreferredSize().width ));