1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 20:55:44 +02:00

Fix redraw of tree on syntax coloring page when semantic highlighting is disabled

This commit is contained in:
Anton Leherbauer 2008-05-14 13:44:00 +00:00
parent 9cd97af5e5
commit 1ed5637cde

View file

@ -768,9 +768,9 @@ class CEditorColoringConfigurationBlock extends AbstractConfigurationBlock {
// do nothing // do nothing
} }
public void widgetSelected(SelectionEvent e) { public void widgetSelected(SelectionEvent e) {
fListViewer.refresh(true);
HighlightingColorListItem item= getHighlightingColorListItem(); HighlightingColorListItem item= getHighlightingColorListItem();
if (item instanceof SemanticHighlightingColorListItem) { if (item instanceof SemanticHighlightingColorListItem) {
fListViewer.refresh(true);
handleSyntaxColorListSelection(); handleSyntaxColorListSelection();
uninstallSemanticHighlighting(); uninstallSemanticHighlighting();
installSemanticHighlighting(); installSemanticHighlighting();