From d1d4e6d48f31995a1c97a0b62cabdb65443aa5db Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 12 Mar 2007 11:30:48 +0000 Subject: [PATCH] * LyXFunc::menuNew(): - bug correction: don't forget to call updateLabels() to initialize the different backends. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17415 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfunc.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lyxfunc.C b/src/lyxfunc.C index ff526d5968..ed0553518a 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -1884,8 +1884,10 @@ void LyXFunc::menuNew(string const & name, bool fromTemplate) } Buffer * const b = newFile(filename, templname, !name.empty()); - if (b) + if (b) { + updateLabels(*b); lyx_view_->setBuffer(b); + } } -- 2.39.5