* 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
This commit is contained in:
Abdelrazak Younes 2007-03-12 11:30:48 +00:00
parent 93211e0f3c
commit d1d4e6d48f

View File

@ -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);
}
}