From ff970d82f2b4448fa3c446b591d7def1662493c3 Mon Sep 17 00:00:00 2001 From: preecej Date: Thu, 4 Oct 2012 21:33:40 +0000 Subject: [PATCH] Revised the clearing of the curator, species, and term selection combo boxes in resetView() svn path=/; revision=389 --- Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java b/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java index f3b17f4..877dac8 100644 --- a/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java +++ b/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java @@ -255,14 +255,14 @@ public class SegmentationView extends Composite { resetViewSelectionToolbar(painters.get("Combined")); // clear metadata - comboLabel.deselectAll(); + comboLabel.removeAll(); comboLabel.setEnabled(false); clearTermDetailTable(); clearTermSynonymTable(); collectionId.setText(""); comment.setText(""); curatorCombo.deselectAll(); - speciesCombo.deselectAll(); + speciesCombo.removeAll(); // clear segment data (term labels, layers, image coords) if (view.getContext() != null) { -- 2.34.1