1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
This commit is contained in:
Oleg Krasilnikov 2007-03-29 09:45:44 +00:00
parent a39e2b6a75
commit b72cecdf30

View file

@ -214,6 +214,7 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
langCol = new TreeColumn(langTree, SWT.NONE); langCol = new TreeColumn(langTree, SWT.NONE);
langCol.setText(UIMessages.getString("AbstractLangsListTab.1")); //$NON-NLS-1$ langCol.setText(UIMessages.getString("AbstractLangsListTab.1")); //$NON-NLS-1$
langCol.setWidth(200);
langCol.setResizable(false); langCol.setResizable(false);
return langTree; return langTree;
} }
@ -270,7 +271,7 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
* Refreshes languages list and calls table refresh. * Refreshes languages list and calls table refresh.
*/ */
public void updateData(ICResourceDescription cfg) { public void updateData(ICResourceDescription cfg) {
if (cfg == null) return; if (cfg == null || !canBeVisible()) return;
updateExport(); updateExport();
langTree.removeAll(); langTree.removeAll();
TreeItem firstItem = null; TreeItem firstItem = null;