mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
ff4460603e
commit
0d016420ce
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user