diff -u -r1.3 -r1.4
--- SymbianMainTab.java	7 Sep 2004 14:09:55 -0000	1.3
+++ SymbianMainTab.java	27 Oct 2004 08:07:20 -0000	1.4
@@ -6,7 +6,6 @@
  */
 package pl.zalewski.mikolaj.symbdev.launch;
 
-import java.util.Iterator;
 import java.util.LinkedList;
 
 import org.eclipse.cdt.ui.CElementLabelProvider;
@@ -151,19 +150,17 @@
 			IProject[] projects=ResourcesPlugin.getWorkspace().getRoot().getProjects();
 			LinkedList symbianProjects=new LinkedList();
 			for (int i=0; i<projects.length; i++)
-			    if (projects[i].hasNature(SymbianPrjNature.NATURE_ID))
+			{
+			    if ((projects[i].isOpen() && projects[i].hasNature(SymbianPrjNature.NATURE_ID))
+			            || projects[i].getName().equals(projectName))
 			        symbianProjects.addLast(projects[i]);
-			projects=new IProject[symbianProjects.size()];
-			
-			Iterator it=symbianProjects.iterator();
-			int i=0;
-			while (it.hasNext())
-			    projects[i++]=(IProject)it.next();
+			}
+			projects=(IProject[])symbianProjects.toArray(new IProject[symbianProjects.size()]);
 
 			ILabelProvider labelProvider = new CElementLabelProvider();
 			ElementListSelectionDialog dialog = new ElementListSelectionDialog(getShell(), labelProvider);
-			dialog.setTitle("Select Project"); //$NON-NLS-1$
-			dialog.setMessage("Choose the project to run"); //$NON-NLS-1$
+			dialog.setTitle("Select Project");
+			dialog.setMessage("Choose the project to run");
 			dialog.setElements(projects);
 
 			IProject projectProp = SymbianLaunchConfigurationDelegate.getSymbianProjectByName(projectName);
@@ -174,7 +171,8 @@
 				return (IProject)dialog.getFirstResult();
 			}
 		} catch (CoreException e) {
-			MessageDialog.openError(getShell(), SymbdevPlugin.MESSAGE_TITLE, "Launch UI internal error"); //$NON-NLS-1$			
+			MessageDialog.openError(getShell(), SymbdevPlugin.MESSAGE_TITLE, "Launch UI internal error");
+			SymbdevPlugin.getDefault().getLog().log(e.getStatus());
 		}
 		return null;
 	}
