eclipse plugin: fix a null pointer exception...

...when there is no selected project
This commit is contained in:
Timotei Dolean 2011-02-10 09:21:24 +00:00
parent e6c45f095e
commit 02eca40f94

View file

@ -29,6 +29,7 @@ public class ImportMapHandler extends AbstractHandler
{
Logger.getInstance().log(Messages.ImportMapHandler_0,
Messages.ImportMapHandler_1);
return null;
}
if (!selectedFolder.getName().equals("maps") && //$NON-NLS-1$