Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-05-16 18:37:51 +0000
committerspingel2011-05-16 18:37:51 +0000
commit182da31fdeefb72d3245ea44f30e02f74b55d2be (patch)
treed53bb17a58ae06a6f4fc5938472b9b441fcd2e45 /org.eclipse.mylyn.tasks.ui
parent4c63e81137a7bc54923bfd6ff5c636df5bc82cf8 (diff)
downloadorg.eclipse.mylyn.tasks-182da31fdeefb72d3245ea44f30e02f74b55d2be.tar.gz
org.eclipse.mylyn.tasks-182da31fdeefb72d3245ea44f30e02f74b55d2be.tar.xz
org.eclipse.mylyn.tasks-182da31fdeefb72d3245ea44f30e02f74b55d2be.zip
NEW - bug 345324: [patch] CheckboxMultiSelectAttributeEditor should only call attributeChanged once per change
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345324
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CheckboxMultiSelectAttributeEditor.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CheckboxMultiSelectAttributeEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CheckboxMultiSelectAttributeEditor.java
index 088add854..276ae2994 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CheckboxMultiSelectAttributeEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CheckboxMultiSelectAttributeEditor.java
@@ -42,7 +42,6 @@ import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.Section;
import org.eclipse.ui.forms.widgets.SharedScrolledComposite;
@@ -116,14 +115,12 @@ public class CheckboxMultiSelectAttributeEditor extends AbstractAttributeEditor
Set<String> newValues = selectionDialog.getSelectedValues();
if (!new HashSet<String>(values).equals(newValues)) {
setValues(new ArrayList<String>(newValues));
- attributeChanged();
updateText();
}
} else if (event.getReturnCode() == AbstractInPlaceDialog.ID_CLEAR) {
Set<String> newValues = new HashSet<String>();
if (!new HashSet<String>(values).equals(newValues)) {
setValues(new ArrayList<String>(newValues));
- attributeChanged();
updateText();
}
}

Back to the top