diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java index bdd1940ed4e..863a76b4b52 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java @@ -214,6 +214,7 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab { langCol = new TreeColumn(langTree, SWT.NONE); langCol.setText(UIMessages.getString("AbstractLangsListTab.1")); //$NON-NLS-1$ + langCol.setWidth(200); langCol.setResizable(false); return langTree; } @@ -270,7 +271,7 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab { * Refreshes languages list and calls table refresh. */ public void updateData(ICResourceDescription cfg) { - if (cfg == null) return; + if (cfg == null || !canBeVisible()) return; updateExport(); langTree.removeAll(); TreeItem firstItem = null;