Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 195721 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java (+3 lines)
Lines 127-132 Link Here
127
import org.eclipse.swt.graphics.Color;
127
import org.eclipse.swt.graphics.Color;
128
import org.eclipse.swt.graphics.Cursor;
128
import org.eclipse.swt.graphics.Cursor;
129
import org.eclipse.swt.graphics.Font;
129
import org.eclipse.swt.graphics.Font;
130
import org.eclipse.swt.graphics.Point;
130
import org.eclipse.swt.layout.GridData;
131
import org.eclipse.swt.layout.GridData;
131
import org.eclipse.swt.layout.GridLayout;
132
import org.eclipse.swt.layout.GridLayout;
132
import org.eclipse.swt.layout.RowLayout;
133
import org.eclipse.swt.layout.RowLayout;
Lines 985-990 Link Here
985
				if (attributeCombo.indexOf(value) != -1) {
986
				if (attributeCombo.indexOf(value) != -1) {
986
					attributeCombo.select(attributeCombo.indexOf(value));
987
					attributeCombo.select(attributeCombo.indexOf(value));
987
				}
988
				}
989
				attributeCombo.setSelection(new Point(0,0));
988
				attributeCombo.addSelectionListener(new SelectionAdapter() {
990
				attributeCombo.addSelectionListener(new SelectionAdapter() {
989
					@Override
991
					@Override
990
					public void widgetSelected(SelectionEvent event) {
992
					public void widgetSelected(SelectionEvent event) {
Lines 992-997 Link Here
992
							String sel = attributeCombo.getItem(attributeCombo.getSelectionIndex());
994
							String sel = attributeCombo.getItem(attributeCombo.getSelectionIndex());
993
							attribute.setValue(sel);
995
							attribute.setValue(sel);
994
							attributeChanged(attribute);
996
							attributeChanged(attribute);
997
							attributeCombo.setSelection(new Point(0,0));
995
						}
998
						}
996
					}
999
					}
997
				});
1000
				});

Return to bug 195721