summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMarkus Keller2012-03-10 12:22:36 (EST)
committer Dariusz Luksza2012-03-10 12:22:36 (EST)
commite4487f7c2ff1562728207feffa52a1354ed2e8c9 (patch)
tree104884771c88512e6a0d823ccdc762913f625b57
parent3ee608f8e0cbd324b4fb686bc23d94968160eafd (diff)
downloadegit-e4487f7c2ff1562728207feffa52a1354ed2e8c9.zip
egit-e4487f7c2ff1562728207feffa52a1354ed2e8c9.tar.gz
egit-e4487f7c2ff1562728207feffa52a1354ed2e8c9.tar.bz2
Fix CCE on Configuration preference page when clicking Value field of arefs/changes/11/5311/2
section header Bug: 373826 Change-Id: I01c0d990c94e6c56e9176dbe8918b4c5b9168a55 Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java
index 754ccb0..c1a1c58 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java
@@ -314,7 +314,7 @@ public class ConfigurationEditorComponent {
}
protected boolean canEdit(Object element) {
- return editable;
+ return editable && element instanceof Entry;
}
});