fix the monitor of the creating campaign project

fix the name of the loaded template
This commit is contained in:
Timotei Dolean 2010-05-15 19:27:44 +00:00
parent d5a3919112
commit f75cdf8d99
2 changed files with 2 additions and 1 deletions

View file

@ -77,7 +77,7 @@ public class TemplateProvider {
public static String getProcessedTemplate(String templateName, ArrayList<ReplaceableParameter> parameters)
{
String tmpTemplate=TemplateProvider.getInstance().getTemplate("scenario");
String tmpTemplate=TemplateProvider.getInstance().getTemplate(templateName);
if (tmpTemplate == null)
{
return null;

View file

@ -77,6 +77,7 @@ public class CampaignNewWizard extends Wizard implements INewWizard {
public void run(IProgressMonitor monitor) throws InvocationTargetException,
InterruptedException {
createProject(monitor);
monitor.done();
}
});
}