Fix the new from template functionality. The templatename parameter was magically disappeared in r31704.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31899 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-08 13:20:08 +00:00
parent ff4460603e
commit 0d016420ce

View File

@ -165,7 +165,7 @@ Buffer * newUnnamedFile(FileName const & path, string const & prefix,
}
while (theBufferList().exists(filename) || filename.isReadableFile());
return newFile(filename.absFilename(), "", false);
return newFile(filename.absFilename(), templatename, false);
}