fix bug 12036
authortimkelly
Wed, 08 Sep 2010 18:06:14 -0500
changeset 1970 10946e2735f8
parent 1961 da3ecb4146dd
child 1971 5906ae69a71e
fix bug 12036
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/PathsAndSymbolsTabComposite.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/PathsAndSymbolsTabComposite.java	Wed Sep 08 17:17:20 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/PathsAndSymbolsTabComposite.java	Wed Sep 08 18:06:14 2010 -0500
@@ -283,7 +283,7 @@
 	}
 	
 	public static void refresh() {
-		if (treeViewer != null) {
+		if (treeViewer != null && !treeViewer.getTree().isDisposed()) {
 			treeViewer.refresh();
 		}
 	}