default to template directory if fromTemplate == true thanks john -- "Euler's equation contains the five most important numbers in mathematics."
Index: ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.196 diff -u -r1.196 ChangeLog --- ChangeLog 2001/06/21 10:55:47 1.196 +++ ChangeLog 2001/06/22 18:25:19 @@ -1,3 +1,7 @@ +2001-06-22 John Levon <[EMAIL PROTECTED]> + + * lyxfunc.C (MenuNew): if fromTemplate, default to template directory + 2001-06-20 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * LaTeX.C (scanAuxFile): Index: lyxfunc.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v retrieving revision 1.223 diff -u -r1.223 lyxfunc.C --- lyxfunc.C 2001/06/15 16:18:42 1.223 +++ lyxfunc.C 2001/06/22 18:25:24 @@ -1610,7 +1611,7 @@ string(lyxrc.template_path))); FileDialog::Result result = - fileDlg.Select(initpath, + fileDlg.Select(lyxrc.template_path, _("*.lyx|LyX Documents (*.lyx)")); if (result.first == FileDialog::Later)