From 0d016420ce7deeee9b04c0c0456fc78b3b369c7c Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 8 Nov 2009 13:20:08 +0000 Subject: [PATCH] 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 --- src/buffer_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer_funcs.cpp b/src/buffer_funcs.cpp index be53275791..96a62f397d 100644 --- a/src/buffer_funcs.cpp +++ b/src/buffer_funcs.cpp @@ -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); }