don't run new plugin checker if there are no SDKs
authortimkelly
Wed, 15 Sep 2010 09:32:22 -0500
changeset 2007 283cfb261d8f
parent 2006 14c0473916ef
child 2008 549473f3167e
don't run new plugin checker if there are no SDKs
core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java	Tue Sep 14 15:25:12 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java	Wed Sep 15 09:32:22 2010 -0500
@@ -48,6 +48,9 @@
 		}
 		
 		final List<ISymbianSDK> sdkList = SDKCorePlugin.getSDKManager().getSDKList();
+		if (sdkList.size() == 0){
+			return;
+		}
 		Job job = new Job("Checking installed SDKs for plugins") { 
 			@Override
 			protected IStatus run(IProgressMonitor monitor) {